+ 2
In this code wht is alt=" "/>
<img src="tree.jpg" height="500px" width="500px" alt=""/> and in above code why there is free space between "" in alt=" "/>
4 Réponses
+ 28
Alt - alternative text. It is used for showing text if an image is not available. You can put there any text, even a space.
https://www.sololearn.com/discuss/221017/?ref=app
+ 2
please explain it I am confused
+ 2
thanks got it
+ 1
If an image fails to load for whatever reason, whatever is in the alt attribute gets displayed in the missing image box by the browser.