WHAT IS alt="" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

WHAT IS alt=""

9th Mar 2017, 1:33 PM
Athar Shaikh
Athar Shaikh - avatar
3 Answers
+ 9
It is a tag to show the replacement text if your image is not loaded. example: <img src="imagefile.jpg" alt="this text is displayed when you can't see the image" />
9th Mar 2017, 1:40 PM
Dadang NH
Dadang NH - avatar
+ 4
@Alvaro Oh yeah, my apologies. My brain think I type "can't" and I didn't realize if my phone auto correct it to be "can" I have already edited my previous post. Thanks for the feedback.
9th Mar 2017, 4:23 PM
Dadang NH
Dadang NH - avatar
+ 1
@Dadang NH: I know it's just a description, but I guess you meant "...when you canNOT see the image".
9th Mar 2017, 4:10 PM
Álvaro