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
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.