Header tag vs Hgroup

A header element typically contains:

* one or more heading elements (<h1> - <h6>)

  • logo or icon
  • authorship information

You can have several elements in one document.


The HTML <hgroup> element represents a multi-level heading for a section of a document. It groups a set of <h1>–<h6> elements.

To me is seems the same.

Use it with like:


Then whitch to use? As both mention to use it when use multiple h tags?


both u use both

<hgroup> acts as a wrapper for two one or more related heading elements possibly contained within a <header> element. It can only contain a group of <h1><h6> element(s), and it should be used for subtitles, alternative titles, and tag lines.


1 Like