The <summary> tag is used to represents the heading of the content which contain by the <details> element. The heading can be clicked to view/hide the details of the content.
Example of Code
<details>
<summary>Click to open</summary>
<p>Collapsible content...</p>
</details>
Output
Click to open
Collapsible content...
