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

+9

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

3/22/2019 8:32:03 PM

v0lt

8 Answers

New Answer

+33

Alt Stands For (Alternative) Which Is Used For Showing The Text Inside Alt Whenever Your Image Fails To Load!!! Keep Practicing!!!🌹🤗 Good Luck!!!🌷👍😊✌🌷

+26

v0lt Hey, alt stands for alternative. Could be used as image description for example 🙂

+5

It’s alternate text to display in the event the image being used doesn’t show, or takes a while to load.

+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.

+3

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 👍💻🙋😀