What does the alt="" stand for in the image tag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What does the alt="" stand for in the image tag?

<img Src="" alt="" />

11th Sep 2017, 7:10 AM
Dukenobles
Dukenobles - avatar
4 Answers
11th Sep 2017, 7:16 AM
Ranjan Bagri
Ranjan Bagri - avatar
+ 6
The text in alt is displayed in browser if the browser failed to load the image or if image content is disabled on browser settings. Anyway, isn't it covered in HTML course already? alt : Alternative text to show instead of image.
11th Sep 2017, 7:14 AM
Ipang
+ 3
It's also used by screen readers for the vision impaired. https://www.w3schools.com/tags/att_img_alt.asp
11th Sep 2017, 7:36 AM
ChaoticDawg
ChaoticDawg - avatar
0
text displayed during mouse-hover I guess.
11th Sep 2017, 10:22 PM
Mikhael Anthony
Mikhael Anthony - avatar