Home
HTML
HTML Images
Example 6: HTML Images
Run ❯❯
<!DOCTYPE html> <html> <head> <title>Alt Attribute of an Image Example</title> </head> <body> <h1>Alt Attribute of an Image</h1> <img src="aloevera.jpg" alt="An Image of Aloe Vera Plant"> <p>Above image has an alt attribute with value: 'An Image of Aloe Vera'.</p> </body> </html>