XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / figure
(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
figure
HTML 5 |
<figure> ... </figure>
Defines a section with self-contained content referenced from the main content. Examples include illustrations, code samples, diagrams and poems. The element figure can contain, in any order, a dd element for the illustration, code, etc., and a dt element for the caption or title. If no dt element is defined, the figure has no caption.
Notes
HTML 5 only.
Start/end tag
Required/required
Attributes
Examples
<figure>
<dd><img src="tacocat.jpg" alt="Eine Katze, die Tacos isst."></dd>
</figure>
<figure>
<dt>Beispiel für eine CSS-Regel</dt>
<dd>
<pre>
body {
background-color: #000;
color: red;
}
</pre>
</dd>
</figure>
|
Copyright © 2010 O’Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from "HTML & XHTML ─ kurz & gut" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de