+ 11

What is alt used for?

20th Mar 2018, 6:41 AM
Arpit Mittal
Arpit Mittal - avatar
4 Respuestas
+ 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.
20th Mar 2018, 6:51 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
And using alt to every images is good practice for seo (search engine optimization) too.
20th Mar 2018, 7:52 AM
Jitan P. Rai
+ 1
it help to search image smoothly
20th Mar 2018, 2:04 PM
Ashish Sharma
Ashish Sharma - avatar
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!
8th Aug 2018, 1:49 PM
AL Araf
AL Araf - avatar