Description:

The HTML <figcaption> tag is used to provide a caption when using the <figcaption> tag.

The <figcaption> element can be placed as the first or last child of the <figure> element.

Example Code:
<figure>
<img src="image/sunset.jpg" alt="Sunset" width="300" height="226">
<figcaption>Figure 1 - Painting of a sunset.</figcaption>
</figure>
Result:
Sunset
Figure 1 - Painting of a sunset.
Attributes:

None

Global Attributes:

The <figcaption> tag also supports the Global Attributes in HTML5

Event Attributes:

The <figcaption> tag also supports the Event Attributes in HTML5