Html5 Summary Tag

The <summary> tag was introduced in HTML 5. The <summary> tag did not exist in older versions of HTML. which tag should be the first child of the <details> tag and it used to describe details about a document or part of document.

Syntax:

<details>
    <summary></summary>
</details>

Example Code

<!DOCTYPE HTML>
<details>
  <summary>Copyright © 2010 TutorialsScripts.com </summary>
  <p>All pages scripts and image are the property by tutorialsscripts.com wep site.</p>
</details>

Out Put :



Copyright © 2010 TutorialsScripts.com

All pages scripts and image are the property by tutorialsscripts.com wep site.





Content