+ 1

What does the command <alt="" /> do?

9th Apr 2017, 1:51 PM
Neil Mehta
Neil Mehta - avatar
5 Respuestas
+ 10
<img src="IMAGE_LOCATION" alt="TEXT"/> can be used to display an image in HTML. "alt" is used to display some text in case the image can't be loaded.
9th Apr 2017, 1:59 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 2
The required alt attribute specifies an alternate text for an image, if the image cannot be displayed. The alt attribute provides alternative information for an image. Also It helps search engines understand what an image is about. 😃
10th Apr 2017, 3:04 AM
Mr Mango Sec xD
Mr Mango Sec xD - avatar
+ 1
so we can write in it??
9th Apr 2017, 1:58 PM
Neil Mehta
Neil Mehta - avatar