Home
HTML
HTML Images
Example 7: HTML Images
Run ❯❯
<!DOCTYPE html> <html> <head> <title>Image Fails to Load Example</title> </head> <body> <h1>Image Fails to Load Example</h1> <img src="noimage.jpg" alt="Garden Image"> <p>The text in the alt attribute is shown.</p> <p>We have deliberately written wrong name of the image. So that image fails to load.</p> </body> </html>