<figure> ... </figure>

HTML5 only. Indicates some set of self-contained content that is referred to from the main content, such as illustrations, code examples, diagrams, poems, and so on. The figure element may contain one figcaption that provides the figure caption or title. The figcaption must be the first or last element within the figure.

Start/End Tags



  • HTML5
<img src="tacocat.jpg" alt="a cat eating a taco">

<figcaption>Sample CSS rule</figcaption>
body {
  background-color: #000;
  color: red;

Rendered Example

The figure element is not yet supported and can not be displayed.