The <hgroup> tag in HTML stands for heading group and is used to group the heading elements. The <hgroup> tag in HTML is used to wrap one or more heading elements from <h1> to <h6>, such as the headings and sub-headings. The <hgroup> tag requires the starting tag as well as ending tag.
<hgroup> ... </hgroup>
Below examples illustrate the <hgroup> tag in HTML:
Example 1: This example contains the Title and Sub-Title.
Example 2: This example contains Title, Sub-Title and Metadata.
Supported Browsers: The browsers which are supported by <hgroup> tag are listed below:
- Google Chrome
- Internet Explorer