Beginner HTML & CSS
Q15 / 100

What does the "alt" attribute on an <img> tag provide?

Correct! Well done.

Incorrect.

The correct answer is B) Alternative text describing the image, used for accessibility and shown if the image cannot load

B

Correct Answer

Alternative text describing the image, used for accessibility and shown if the image cannot load

Explanation

"alt" provides descriptive text for screen readers and displays if the image fails to load, important for accessibility and SEO.

Progress
15/100