Edit

HTML details Tag

The <details> tag is used to create an interactive widget which can show or hide to expand or collapse information. In the example you can open <p> tag information to click on arrow.

Example of Code

<details>
    <summary>Click to open</summary>
    <p>Collapsible content...</p>
</details>

Output

    Click to open    

Collapsible content...