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 are the five html tags?
Explain alternate text in image mapping?
How to make a picture of a background image of a web page?
List the media types and formats supported by html ?
How comfortable are you with writing html entirely by hand?
What is unpaired tag?
How do you define html5?
Why are there both numerical and named character entity values?
Explain five new input types provided by HTML5 for forms?
Do all HTML tags come in pair?
Why is xhtml needed?
How do I create a link that opens a new window?