+ 1

What is the meaning of alt=""/ in img src tag

8th Jul 2017, 4:21 PM
pankaj kahol
pankaj kahol - avatar
3 ответов
+ 3
alt="" The text you put inside the quotes will be displayed in the place of the image incase it fails to load. It is also important for the visually impared using screen readers as that text will be read out loud. "/ " is used on self closing tags (as good practice). You can choose to leave it out.
8th Jul 2017, 6:25 PM
Joachim Roma
Joachim Roma - avatar
+ 2
ALTernative text that is displayed if the image couldn't load
8th Jul 2017, 4:27 PM
Andrés04_ve
Andrés04_ve - avatar