HTML · Links and media

figure

Self-contained media with an optional caption that stays with it.

Syntax
<figure>…</figure>

Example

Try it

More in this group

a area audio canvas embed figcaption iframe img

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course