HTML <figcaption> Tag

<figure>
<img src="/images/examples/ducky.gif" alt="Drawing of a duck.">
<figcaption>
Figure 1. Ducks are yellow, but they have orange beaks and feet.
</figcaption>
</figure>

The above example demonstrates usage of the <figcaption> element.

The <figcaption> element is used for providing a caption for <figure> elements.

The <figcaption> element is optional when using the <figure> element.