HTML5 <figcaption> Tag

Example

A section in a document, describing WWF:

<figure>
  <figcaption>WWF</figcaption>
  <p>The World Wildlife Foundation was born in 1961...</p>
</figure>

Try it yourself »

Definition and Usage

The <figcaption> tag contains a caption for the "figure" element.

The "figcaption" element should be placed as the first or the last child of the "figure" element.


Differences Between HTML 4.01 and HTML5

The <figcaption> tag is new in HTML5


Tips and Notes

Note: The "figcaption" element should be placed as the first or the last child of the "figure" element.


Standard Attributes

The <figcaption> tag also supports the Standard Attributes in HTML5.


Event Attributes

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