- 1

<img src=" " alt=" "> What's the role of the alt attribute?

In image tag we have one of the attributes that I have bo idea about it Many thanks for your help

21st Mar 2021, 2:27 PM
Tarik HAMDOUNI
Tarik HAMDOUNI - avatar
3 odpowiedzi
+ 2
Hey there Tarik, The Alt attribute provides alternative information to the image if it fails to load or if there are some display problems. :)
21st Mar 2021, 2:37 PM
Matthew
Matthew - avatar
+ 1
https://en.m.wikipedia.org/wiki/Alt_attribute
21st Mar 2021, 2:33 PM
XXX
XXX - avatar