HTML & CSS · Junior · Question 58 of 75

What are <figure> and <figcaption> for?

Explanation

The caption is semantically linked to the content. alt still describes the image itself; <figcaption> is visible text for everyone.

Further reading

Problem with a question

HTML & CSS · Junior · question 58

Test yourself

Take the HTML & CSS · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz