The <hgroup> element is used to represent a heading or headings of a section; or in other words it represents a group of heading tags of the HTML, from <h1> thru <h6>. This element is meant to group more than one heading at once, just as shown in the basic syntax below:




NOTE: This element has been removed in the latest W3C specifications for HTML5, but since it has already been implemented by most of the browsers it probably won't go away soon.

The <header> element can be used to as replacement to <hgroup> element, although the <header> element is meant to group headings, as well as metadata and more important sections of the document body, such as a metadata or firm's logo.


The hgroup tag basic example:


›› go to examples ››