What is the purpose of the alt attribute in <img>?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
The alt attribute provides alternative text for an image if it cannot be displayed. It also improves accessibility for visually impaired users.
Example:
<img src="image.jpg" alt="A beautiful landscape">
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
The alt attribute provides alternative text for an image if it cannot be displayed. It also improves accessibility for visually impaired users.
Example:
<img src="image.jpg" alt="A beautiful landscape">
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a td mean?
When are comments used in html?
Which html tag is used to display the data in the tabular form?
What is the difference between xhtml, html 4 and html 5?
My images/hyperlinks are coming out all wrong, or don't load! What's up?
How do you add a copyright symbol on a html page?
What is semantic elements in html?
What is meant by html tags?
What do you mean by html?
How much does a website cost?
Is edge better than chrome?
What’s new HTML 5 DocType and Charset?