+ 2
Wat is the function of the "alt" when adding images while coding
3 Respuestas
+ 4
an alternative in case your image doesn't load properly
+ 16
it's basically an alternative text that appears when the image fails to load (for whatever reason for example the path is wrong), the text is also used for screen readers (people that can't see, use special browsers with build in screen readers, those readers obviously can't read an image but the can read the text that's why the text should describe the picture really well)
+ 2
thanks @kamil