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?
hgroup
that you can't solve as easily without ? Can you make this question more concrete ? – Whosohgroup
tag was just to wrap around them to show they were related. You could do the same with a normal div. – Entrenchment<div>
and<p>
are more commonly used for a tagline/subheading than an<h?>
element. Use one of those two. – Jauregui<hgroup>
was to hide<h?>
elements from the document outline when they were being (mis)used to augment a higher level heading rather than to introduce a subsection. – Jauregui