XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / details
(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
details
HTML 5 |
<details> ... </details>
Creates an area with hidden information (a disclosure widget), which can be shown or hidden and provides additional information about controls. The element details can contain a dt element containing a summary of the details, as well as a dd element containing the details themselves.
Notes
HTML 5 only.
Start/end tag
Required/required
Attributes
open(open="open"in XHTML 5)Specifies whether the details should be shown or hidden when the document loads.
Example
<details>
<dt>Biografische Informationen</dt>
<dd>Hier stehen ein paar Informationen über den Autor, die für den Leser interessant sein könnten.</dd>
</details>
|
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