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

Global HTML 5 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>

 

> back to the alphabetical list of elements

   

 

 

 

back to top