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 |
How to use html5 new tags in ie8 and lesser.
What is formatting in html? Explain some formatting tags?
What is logic match tag?
Does hr need a closing tag?
List out the tags those are mostly used in html?
Does html5 support offline storage?
Does a hyperlink only apply to text?
Describe the usage of <footer>, <article>, <section>, and <header> html5 semantic elements.
Tell us something about the new <canvas> element.
How do you make a link open in a new tab?
What is the meaning of dynamic web page?
What is content in html?