Home >>HTML5 Tutorial >HTML5 Detail Tag
The <details> tag specifies additional details that the user can view or hide on demand.
The <details> tag can be used to create an awesome widget that the user can open and close. Any sort of content can be put inside the <details> tag.
Ex(i)
<details> <strong>HTML</html> <p>HTML is used to design static Website.</p> </details>
HTML is used to design static Website.
Ex(ii)
<details> <summary>HTML</summary> <p>HTML is used to design static Website.</p> </details>
HTML is used to design static Website.
1) Chrome | 2) Firefox | 3) Safari |