The figure tag

The figure tag is designed to group HTML images and captions under them. Captions for images are made using the figcaption tag.

Example

Let's put a picture img in the tag figure, and make a caption to it using the tag figcaption:

html<figure>
  <img src="monkey.jpg" alt="">
  <figcaption>Fig. 1. Picture of a monkey.</figcaption>
</figure>

See also