HTML and CSS Reference
In-Depth Information
Name
figcaption
Synopsis
<figcaption> . . . </figcaption>
Not in HTML 4.01
. Represents a caption or legend for its parent
figure
element.
Usage
Categories:
None
Permitted contexts:
As the first or last child of a
figure
element
Permitted content:
Flow content
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
Examples
<figure>
<img src="piechart.png" alt="2014 sales chart">
<figcaption>
Sales skyrocket in 2014
</figcaption>
</figure>