HTML & CSS · Junior · Question 58 of 75
What are <figure> and <figcaption> for?
- ✓Correct answer: Self-contained media (image, chart, code) with an associated caption
- 2Any decorative image
- 3Image galleries only
Explanation
The caption is semantically linked to the content. alt still describes the image itself; <figcaption> is visible text for everyone.