0
What is the role of alt attribute in img tag??
5 Respuestas
+ 3
The required alt attribute specifies an alternate text for an image, if the image cannot be displayed. The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader).
+ 2
If the image cannot be displayed it will instead print the alt (alternative).
+ 2
when image will not load in browser the value of alt attribute text will show at the place of image
+ 1
@victorfernandez sir if I need picture of trees then what could be the possible alternative for that??
0
alt attribute gives the alternative name for image