+ 1
alt=""
Can any one say easily that what does this code do And why should we put it after the url that we enter???
3 Antworten
+ 20
check out this code to understand
https://code.sololearn.com/Wr3tLUsq3w31/?ref=app
+ 2
It is useful if the image didn't appear. So instead, the text inside alt will appear as an alternative for the failed image. Got it?
+ 1
its useful in case the viewer is on text only mode or the image simply fails to load. the user will still have an idea what was there