What is alt from <img src="" alt="" /> for?? | Sololearn: Learn to code for FREE!
+ 9

What is alt from <img src="" alt="" /> for??

22nd Mar 2019, 8:32 PM
v0lt
v0lt - avatar
6 ответов
+ 33
Alt Stands For (Alternative) Which Is Used For Showing The Text Inside Alt Whenever Your Image Fails To Load!!! Keep Practicing!!!🌹🤗 Good Luck!!!🌷👍😊✌🌷
6th Apr 2019, 1:35 AM
K͜͡ɩnɢ・ムzizi 🖤
K͜͡ɩnɢ・ムzizi 🖤 - avatar
+ 26
v0lt Hey, alt stands for alternative. Could be used as image description for example 🙂
22nd Mar 2019, 8:33 PM
r8w9
r8w9 - avatar
+ 5
It’s alternate text to display in the event the image being used doesn’t show, or takes a while to load.
22nd Mar 2019, 9:27 PM
Mike
Mike - avatar
+ 4
Alt is the short form of 'alternative'. This attribute is used in <img> tag, not in <link> tag. It represents an alternative text for image. Suppose your image hasn't load for invalid image path or bad network connection, then the alternative text will display in place of that image. It is good practice to use something related to the image as an alternative text.
23rd Mar 2019, 1:47 AM
Adnan Zawad Toky
Adnan Zawad Toky - avatar
+ 3
O)_(0
4th Apr 2019, 9:41 AM
Danil Troshin
Danil Troshin - avatar
0
Alt (Alternative) este es un atributo que se usa para que cuando la imagen no carga salga ese texto que describa que hay en la imagen o de que es 👍💻🙋😀
10th Jul 2019, 1:39 AM
Samuel Alejandro Gonzalez
Samuel Alejandro Gonzalez - avatar