Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

HTML5 <summary> tag


May 03, 2021 HTML5


Table of contents


Html5 is the title of the content defined in the label. Please refer to the following example:

Using the elements of slt;summary:

<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 out . . .

Browser support

HTML5 <summary> tag HTML5 <summary> tag HTML5 <summary> tag HTML5 <summary> tag HTML5 <summary> tag

Currently, only Chrome and Safari 6 support the hashtags.


Label definition and instructions for use

The label defines a visible title for the element. Details are displayed when the user clicks on the title.


The difference between HTML 4.01 and HTML5

The label is the new label in HTML5.


Tips and comments

Note: The element should be the first child element of the element.


Global properties

The label supports the global properties of HTML.


The event property

The tag supports the event properties of HTML.