hgroup is obsolete Web Standard

Description

The hgroup element is obsolete.

Help

To mark up subheadings, consider either just putting the subheading into a ‘p’ element after the ‘h1’-‘h6’ element containing the main heading, or else putting the subheading directly within the ‘h1’-‘h6’ element containing the main heading, but separated from the main heading by punctuation and/or within, for example, a ‘span class=“subheading”’ element with differentiated styling. To group headings and subheadings, alternative titles, or taglines, consider using the ‘header’ or ‘div’ elements.

Applicable standards

Change history

  • 5.32 Feb 2019 Removed - no longer flagged by W3 validator.
  • 5.2 May 2013 Added.

This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.

Rule ID: W3cHtml5ObsoleteElementHgroup