Which attribute is used to add an alternative text in case the image fails to load? | Sololearn: Learn to code for FREE!
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?

15th Jun 2018, 4:47 PM
Anthony Omary
Anthony Omary - avatar
3 Answers
+ 6
alt attribute It's usage <img src="image.jpg"alt="alternative text ">
15th Jun 2018, 5:05 PM
Vishal Singh
Vishal Singh - avatar
0
alt =" "
25th Jun 2018, 3:20 PM
Mary Mbaire
Mary Mbaire - avatar
0
<img src="image-path" alt="image-shortname">
30th Mar 2020, 5:55 AM
Ashish Gupta
Ashish Gupta - avatar