The Details element displays a text summary and an arrow button: When you click on the text or the button, the block opens and reveals additional content on the page.
Demo
Sample Code
<details>
<summary>Title of the summary block</summary>
This is the hidden content of the details.
</details>