why is basically the alt'''' used after the image extension in HTML?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

why is basically the alt'''' used after the image extension in HTML??

27th Sep 2016, 10:18 AM
Swayam Shree
Swayam Shree - avatar
4 Answers
+ 4
It is used to specify a text when the image cannot be displayed. The placement of an attribute in the html code is irrelevant. It's better to put the most important ones first for readability, but it has no bearing on the resulting page.
27th Sep 2016, 10:24 AM
Zen
Zen - avatar
+ 3
If the image can't be shown due to one issue or the other,the text delivers the intent of the image
27th Sep 2016, 1:26 PM
victor
victor - avatar
+ 1
its used for put a text instead of the image If this image cant be showed
27th Sep 2016, 10:24 AM
Johny Patrick Da Silva Ferreira
Johny Patrick Da Silva Ferreira - avatar
0
it is an alternate text displayed if the image cannot be displayed
3rd Oct 2016, 11:50 AM
Gadagoju Prudhvi
Gadagoju Prudhvi - avatar