Details & Summary Tag in HTML


 The <details> and <summary> tags in HTML are used together to create a disclosure widget, allowing users to expand and collapse a section of content. This functionality is similar to an accordion or a "show/hide" element.


<details>

         <summary>HTML</summary>

          <p>--------------</p>

</details>

Post a Comment

0 Comments