Courses / HTML
39. figcaption Element
Represents a caption or legend for the content of its parent <figure> element.
1 min read Chapter 39 of 102
HTML
figcaption Element
The `<figcaption>` element provides a caption for the content of a `<figure>` element.
"I want my images to have clear descriptions that help users understand them better."
The `<figcaption>` element is used to add a caption or description to a `<figure>`, enhancing accessibility and context for the content it describes.
"I want my images to have clear descriptions that help users understand them better."
The `<figcaption>` element is used to add a caption or description to a `<figure>`, enhancing accessibility and context for the content it describes.