The hgroup element

The hgroup element (<hgroup>) is used to group heading with associated sub-headings. More specifically it can say that HTML5 hgroup tag is used for grouping <h1> – <h6> tags. It works just like a container of two or more related heading elements.

Important point need to be remembered:

HTML5 hgroup element is supported by latest versions of all web browsers. Internet Explorer 8 or earlier versions of Internet Explorer do not support hgroup tag.

There is an example of HTML5 hgroup element given below:

      <h1>Title of article goes here</h1>
      <h2>Sub-title of article goes here</h2>
   <p>Article content goes here...</p>
Press CTRL+D to bookmark this page - The hgroup element

Your comment


4 + 9 =