Home
HTML
HTML Attributes
Tryit: HTML alt attribute
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <img src="img_typo.jpg" alt="Girl with a jacket"> <p>If we try to display an image that does not exist, the value of the alt attribute will be displayed instead. </p> </body> </html>