<details>
noun
say it: “DEE-taylz” /ˈdiːteɪlz/ or “dih-TAYLZ” /dɪˈteɪlz/
The HTML element for content folded away under a clickable label, which opens and closes with no JavaScript.
What is <details>?
<details> — The element that contains additional information a user can reveal or hide.
<details>
<summary>Store hours</summary>
<p>Open Monday through Friday, 8–5.</p>
</details>
In a sentence
- “Each trivia answer is hidden in a details element until a player clicks the question.”
Level: Journeyman · More HTML terms at this level
Updated