<summary>



HTML <summary> Tag


The <summary> tag is written inside the <details> tag.

The summary can be clicked to view/hide the details.


Example :

<details>
  <summary>This is Summary</summary>
    <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Numquam nesciunt quod molestiae asperiores quae repellendus praesentium eius tenetur, sit iusto.</p>
</details>
<hr>
<details open>
  <summary>HTML5</summary>
    <p>HTML Stands for HyperText Markup Language</p>
</details>