The <figcaption>
element is used to add captions for the <figure
element. It’s often used to add image captions.
Code example:
<figure>
<img src="path-to-image.jpg" alt="Description of image" />
<figcaption>Caption for photo</figcaption>
</figure>