details summary html5
snippet in html

details summary html5

user970

<details>
  <summary>Some details</summary>
  <p>More info about the details.</p>
</details>