HTML Reference
Example
<figure>
<img src="before.jpg" alt="Old-Looking">
<img src="after.jpg" alt="Young-Looking">
<figcaption>
Before and after our amazing Drop-Pounds-and-Lose-Inches Diet.
</figcaption>
</figure>
<figure>
Description Represents some self- contained conten t, usually with a cap-
tion specified by the first <figcaption> element inside the
<figure> element. The <figur e> element can be used to
add explanations to illustrations, charts, photos, computer
code listings, or the like, which are referenced fro m the text
of the main document. They could be moved away from
that pr imary text w ithout affecting the flow of th e document.
The outline of the <figure> element is not a part of the
main d ocument outline.
Category
Sectioning root
Display
Block
<hr>
Full name
Horizontal Rule (historic name)
Description Represents a thematic break between paragraphs, such as a
transition to another topic within a section or a change of
scene in a story.
Content
This is a void element.
Display
Block
C.5. Grouping 317