Check out example codes for "summary html5 ejemplo". It will help you in understanding the concepts better.

Code Example 1

<details>
  <summary>Epcot Center</summary>
  <p>Epcot is a 
    theme park at Walt Disney World Resort featuring exciting attractions, 
    international pavilions, award-winning fireworks and seasonal special 
    events.</p>
</details>

Learn ReactJs, React Native from akashmittal.com