+ 1
What to do in alt attribute on image tag?
2 Answers
+ 10
In case the image cannot be displayed, the alt attribute specifies an alternate text that describes the image in words. The alt attribute is required.
+ 1
alt attribute is used for adding a small description about the image that will appear in case of text browsers which can't rendered or when image is not located.