New course! Every coder should learn Generative AI!
Try a free lesson+ 2
Which attribute is used to add an alternative text in case the image fails to load?
3 Answers
+ 6
alt attribute
It's usage
<img src="image.jpg"alt="alternative text ">
0
alt =" "
0
<img src="image-path" alt="image-shortname">