+ 1

What does that.... alt="" ...do in the code

27th May 2020, 9:27 AM
Sakshi
3 Réponses
+ 2
If your image doesn't displays , anything written in alt tag inside double quotes will be displayed instead of image
27th May 2020, 9:29 AM
Abhay
Abhay - avatar
+ 1
In case due to some problem the system is unable to show the image It will show an alternative text in place of the image.... It's actually not very important....
27th May 2020, 9:29 AM
Namit Jain
Namit Jain - avatar
+ 1
alt attribute is useful if the user internet disconnects or weakens or even their is a mistake in src value for any reason, any thing you typed insie alt it will be displayed instead of image...
27th May 2020, 10:06 AM
Raven
Raven - avatar