How to use details tag


<details>

All Tags not showing in online page, but show on view source.

<details>
    <summary>Click for Home Detail</summary>
    <p>There are your Detail for Home2IT.com</p>
</details>

Code show like this:

Click for Home Detail

There are your Detail for Home2IT.com

Browser Support

The <details> tag is supported only Chrome and Safari.

What is details tag

Details tag used to heading of detail. Use summary tag for detail heading into detail tag.

Difference in HTML5

The details tag is new in HTML5.

Leave a Reply

Your email address will not be published. Required fields are marked *