figcaption
I. Description
The
HTML
<figcaption>
element is used to
provide a caption (description) for a
<figure>
element.
II. 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: