![]() |
VOOZH | about |
The <figcaption> tag in HTML is used to provide a caption or description for a <figure> element.
<figcaption> element can be placed as the first or last child of the <figure> element. <figure>
<img src="image.jpg" alt="Description of the image">
<figcaption>This is the caption or description of the image.</figcaption>
</figure>Note: This tag is new in HTML5. The <figcaption> tag also supports the Global Attributes and Event Attributes in HTML.