<details> <summary> Click here to hear my secret... </summary> <p>I'm not telling you any of my secrets! Who do you think I am!</p> </details>
The above example demonstrates usage of the
Note that the
<summary> element is optional when using the
details element. If you don't provide a summary the browser will provide its own (eg, Details).