<figcaption>: The HTML Figure Caption Element
1 Description
The HTML <figcaption>
element is used to
provide a description or caption for a <figure>
element.
See Also
The <figure>
element.
2 Examples
<!DOCTYPE html>
<html>
<head>
<title>figcaption Example Page</title>
</head>
<body>
<h1>Zebra Photograph</h1>
<figure>
<img alt="Zebra Running In A Field" src="/image/zebra.jpg"/>
<figcaption>A zebra running in a field.</figcaption>
</figure>
</body>
</html>
This document was last updated: