The ____ attribute defines the alternative text for an image.
- alt
- description
- label
- text
The alt attribute provides an alternative text description of the image. It's essential for accessibility as it describes the appearance and function of an image to those who cannot see it, such as visually impaired users or if the image fails to load.
Loading...
Related Quiz
- To embed a YouTube video, you should use the ______ element and provide the video URL in the ______ attribute.
- In a fixed table layout, using the CSS property table-layout: ______;, the horizontal layout only depends on the table's width and the width of the columns, not the contents of the cells.
- You have received feedback that the text content on a webpage is difficult to read due to lack of structure. How would you use headings and paragraphs to improve the readability and structure of the content?
- The ______ attribute is used to specify the type of input control.
- How can "th" elements be made to work as row headers instead of column headers?