0

I don't understand how to use alt attribute ?

26th Jan 2017, 2:45 PM
SarahAtwa
4 ответов
+ 3
It's stuff you see when the image fails to load. Usually you put it as the description of the image.
26th Jan 2017, 3:47 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 3
let's say that we have an image and want it to be displayed on the browser , but what if the browser couldn't display it ??? in this case the alt=" " was created to replace the image by text . Example: <img src="house.jpg" alt="A white house and some people in front of it " /> I hope you got that alt="" describes the images if the browser can not support the image . GOOD LUCK WITH CODING !
26th Jan 2017, 3:50 PM
Abdel
Abdel - avatar
+ 2
It's firstly and mainly stuff to describe the picture in all case of non-displaying, especially starting with blind people browsers ^^
27th Jan 2017, 5:03 AM
visph
visph - avatar
0
thanks all 👍
27th Jan 2017, 5:28 AM
SarahAtwa