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).
Example An image with an alternate text :
Syntax
<img alt=”text“>
Example:
<p><img src=”https://www.gemcode.in/wp-content/uploads/2020/04/android-chrome-512×512-1.png” alt=”Girl in a jacket” width=”500″ height=”600″ /></p>
Share Post
2 thoughts on “HTML img alt Attribute – GEMCODE”
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me. https://www.binance.info/join?ref=P9L9FQKY
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me. https://www.binance.info/join?ref=P9L9FQKY