+ 2
what is the use of alternative text "alt" for image tag
whatever data we type under alt attribute where do we see it in html
4 ответов
+ 5
if your image fails to load alt attribute provide an alternate text in place of unloaded image
+ 1
If you don't have it, it doesn't affect your image showing or not, but if for some other reasons your image does not show up, the alt text would show.
One importance is that text loads quickly, quite unlike image which might take a longer while, during which something may go wrong. Also, the image may be in a format the browser does not use.
Good luck.
0
the alt="Stuff" is a placeholder for text, like when it fails to load, it displays the thing in quotation, im mine, it would display 'Stuff' as a 'alt' ernative to the picture
0
what if I don't use alt will that effect my image