+ 11
What is alt used for?
4 Answers
+ 7
alt attribute specifies an alternate text for an image, if the image cannot be displayed. The alt attribute provides alternative information for an image if a user for some reason cannot view it.
+ 1
And using alt to every images is good practice for seo (search engine optimization) too.
+ 1
it help to search image smoothly
0
If any browser fails to display the image then the text will be shown what you had given in alt!! If you keep it blank nothing will be shown!