what is this alt="" used for | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is this alt="" used for

12th Jun 2016, 9:52 PM
Lawal Adekunle Jimoh
Lawal Adekunle Jimoh - avatar
4 Answers
+ 6
It has 3 usage: 1.(this is not for what it was built, this use became famous because of google and few search engine's facility to provide saved copies of sites) when the site is down and you want to read few articles of it, Google provides the saved copy of that site, with no images mostly so if you have used alt=""then reader will get what kind of picture was there. 2.while loading an image the reader get pre idea about what kind of image it is. 3.in case browser is set on "text-only" version also user will able to get what kind of image was there. And can load selected images only. 4.for blinds if text to speech is on they will get idea that there is image after this text which is related to some xyz kind of topic.
13th Jun 2016, 9:51 AM
SWAPNIL DATTARAY SASTE
SWAPNIL DATTARAY SASTE - avatar
+ 4
alt="" is basically use when the internet connection of user is too slow and unable to load the image or the image display is blocked by the browser then alt="image_details" i.e the image details written inside parenthesis display.
13th Jun 2016, 2:20 AM
Srijan Kumar
Srijan Kumar - avatar
+ 2
alternative text when image is not loading
13th Jun 2016, 5:19 AM
murali
murali - avatar
0
name of photo. use with img
27th Jun 2016, 11:44 PM
sagir
sagir - avatar