The ______ attribute is used within the img tag to provide alternative text for an image.
- alt
- href
- src
- title
The alt attribute, which stands for "alternative text", provides a text description for images, which is useful for screen readers (for visually impaired users) and in cases where the image cannot be displayed. It improves accessibility and helps search engines understand the image content.
Loading...
Related Quiz
- The _____ property in CSS is used to control the order of navigational elements when the tab key is used.
- In HTML, text within ______ tags is displayed in a new block-level element, typically with a blank line above and below.
- How does the browser render a table when the "tfoot" element is written before the "tbody" element in the HTML code?
- Can the "style" attribute override the styles defined in external stylesheets?
- How does the use of access keys enhance website usability?