Details __NUMBER__
summary is the visible, clickable text that opens or closes each details element.
content represents the content inside details. This lab generates it as a paragraph.
Explore details with controls to edit each summary and content, add new blocks, and test the name attribute for JavaScript-free exclusive accordions.
The details element can show or hide additional content natively.
The summary element defines the visible text that toggles each disclosure block.
<details dir="ltr">
<summary>First details</summary>
<p>The details element can show or hide additional content natively.</p>
</details>
<details dir="ltr">
<summary>Second details</summary>
<p>The summary element defines the visible text that toggles each disclosure block.</p>
</details>