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

HTML <hgroup> tags


May 04, 2021 HTML Reference Manual


Table of contents


HTML slt;hgroup.gt; tags

The label represents the multi-level title of the document section, which is used to combine the titles of a web page or section.

Combine the titles using slt;hgroup:

<hgroup>
<h1>Welcome to my WWF</h1>
<h2>For a living planet</h2>
</hgroup>

<p>The rest of the content...</p>

Try it out . . .

Browser support

HTML <hgroup> tags HTML <hgroup> tags HTML <hgroup> tags HTML <hgroup> tags HTML <hgroup> tags

IE 9, Firefox, Opera, Chrome, and Safari support the hashtags.

Note: IE 8 or earlier versions of IE browsers do not support the hashtag.


Label definition and instructions for use

Labels are used to group title elements.

When the title has multiple levels (subtitles), the elements are used to group a series of elements.


The difference between HTML 4.01 and HTML5

The label is the new label in HTML 5.


Global properties

The label supports the global properties of HTML.


The event property

The tag supports the event properties of HTML.