Describe the use of alt attribute with <img> tag.
Describe the use of alt attribute with tag.
4 views
1 Answers
The alt attribute is used to define ‘alternate text’ for an image. It tells the Website visitor, what he/she is missing on the page if the browser cannot load images. The browser will then display the alternate text instead of the image. It is good to include alt attribute for each image on a page to improve the appearance and usefulness of the document.
4 views
Answered