Latest web development tutorials

HTML <summary> tag

Examples

Use <summary> element:

<details>
<summary>Copyright 1999-2011.</summary>
<p> - by Refsnes Data. All Rights Reserved.</p>
<p>All content and graphics on this web site are the property of the company Refsnes Data.</p>
</details>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Currently, only Chrome and Safari 6 Support <summary> tag.


Tag definitions and instructions

<summary> tag <details> element defines a visible title. When users click the header will display details.


Differences between HTML 4.01 and HTML5

<Summary> tag is new in HTML5 tags.


Tips and Notes

Notes: <summary> element should be the first child of the <details> element.


Global Properties

<summary> tag supports HTML global properties .


Event Properties

<summary> tag supports HTML event properties .