HGROUP element removed from the HTML5 Specification. What alternative technique can be used instead?

Darren Reay picture Darren Reay · Apr 4, 2013 · Viewed 7.1k times · Source

As some of you would of heard the hgroup element is being removed from the HTML5 Specification. (For more info, see the W3C HTML Working Group's decision on request to drop hgroup from HTML5 on the W3C's Public Mailing List archives.)

Now I'm currently working on the redesign of a site using this tag that creates a way of adding a sub heading.

My current thoughts are to just add another hX tag under the main header, but I'm not sure if this would be semantic enough to do so.

 <h1>Darren Reay</h1>
 <h2>A developing web developer</h2>
 <p>Hello World</p>

Could anyone either come up with a alternative for using sub headers or at least point me in the right direction?

Answer

Steve Faulkner picture Steve Faulkner · May 1, 2013

The HTML5 spec now includes advice on how to mark up Subheadings, subtitles, alternative titles and taglines