The alt attribute is a text (word or phrase) used in a HTML or XHTML documents to specify the text to be displayed to the users if the original content doesn’t appear. In web designing, alt attribute is extensively used for images to display the relevant text in case the image could not be loaded in order to let users know what it is.
In the following alt attribute example, the text ‘Facebook logo’ will appear if the logo image could not be displayed.
<img src=“facebook_logo.png” alt=“Facebook Logo”>
Subject : Website Design & Development
Disclaimer: The term explained above has been compiled with consideration and care after consulting multiple sources. Despite our continuing efforts, we advise- the readers should not take decisions completely based on the information shared by FATbit on its glossary section.