0
I don't understand how to use alt attribute ?
4 ответов
+ 3
It's stuff you see when the image fails to load. Usually you put it as the description of the image.
+ 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 !
+ 2
It's firstly and mainly stuff to describe the picture in all case of non-displaying, especially starting with blind people browsers ^^
0
thanks all 👍