From Web Education Community Group
The <figure> element represents some flow content.
- Some examples of cases:
- annotate illustrations
- photos [Example A]
- code listings ...
- That are referred to from the main content of the document, But without affecting the flow of the document.
- The figure element is able to have a caption.
The figcaption element child of the element, represents the caption of the figure element's contents.
See global attributes.
<figure> <figcaption>The Stata Center</figcaption> <img src="stata.jpg" alt="The Stata Center Building"> </figure>
The <figure> element was introduced in HTML5 - 4.5.11 The figure element.