Comments for hgroups and sub-titles


Interesting and almost convincing perspective on the #hgroup element on the #HTML5 spec. http://bit.ly/9R3jit
I totally agree that hgroup is a heavy-handed solution if all you're trying to solve is the problem of straplines. I wonder if perhaps the idea is also to open up the possibility of having more complex structure in headings:

http://feedmechocolate.com/stuff/headings.html

while still keeping a sensible outline:

http://gsnedders.html5.org/outliner/process.py?url=http%3A%2F%2Ffeedmechocolate.com%2Fstuff%2Fheadings.html

I'm undecided as to whether encouraging that kind of thing is a good idea.

"The contents of the h2 is considered a special non-sectioning-heading case, but it’s still in a heading element. But if it’s meant to be a heading, why isn’t it in the h1? Gah!"

I think of the hgroup element itself as the actual heading element. It's just like normal heading (h1-h6), except that instead of just containing a piece of text, it has some internal outline-like structure.

When you have at the top level in a document, the h1 and h2 elements are no longer headings in that document. The entire hgroup element is the heading. For outlining purposes, the hgroup 'picks' the highest heading it contains as a summary of itself, and folds away the rest of its detail.

Again: it's a heavy syntax, but it does at least seem to make sense to me with the way I think about headings.

Interesting and almost convincing perspective on the #hgroup element on the #HTML5 spec. http://bit.ly/9R3jit
Was going to write something more detailed here, but it basically boils down to: I agree, these things should have their own element, not completely set on "strapline" but can't think of anything better right now.
@Jake: Yeah - I don't really like 'strapline'. I think I actually prefer 'subheading'. sh? Whatever the OED would call it.
by Frances at
RT @phae: probably regret this in the morning, but my bone with hgroup http://tinyurl.com/336znja (thanks to @adactio for arguing with m ...
hgroups and sub-titles http://bit.ly/9AQAVK
Moooo. Mooooo.
by Jude at
I agree as well. Seems like a wasted effort to create hgroup when they should just create subheading.
by picard102 at
RT @BoagLinks: hgroups and sub-titles http://bit.ly/9AQAVK
by Ethan at
RT @BoagLinks: hgroups and sub-titles http://bit.ly/9AQAVK
I would consider adding new elements (particularly standalone elements) a last resort in just about any case.

If an element is to be created -- like hgroup -- it makes a ton of sense for it to be one that leverages and adds value to existing elements, rather than simply standing on its own.

Frances makes a great point about the semantic flaws in grouping heading elements. But I see an easier path for browser makers and designers in interpreting headings within an hgroup than the path to uniquely interpreting an entirely new standalone element.

Paving The Cowpaths is one thing but it doesn't make a lot of sense when the cows are wandering through a river. What makes sense is to build a bridge.

I completely agree. And my suggestion for the name of the element would be something like subh.

I had this exact thought when using hgroup recently: RT @TopsyRT: hgroups and sub-titles http://bit.ly/doKOKM
RT @phae: probably regret this in the morning, but my bone with hgroup http://tinyurl.com/336znja (thanks to @adactio for arguing with m ...
@willhowat http://bit.ly/eCcFhE
hgroup rationale: well worth reading. RT: @rossbruniges: @willhowat http://bit.ly/eCcFhE
RT @rayui: hgroup rationale: well worth reading. RT: @rossbruniges: @willhowat http://bit.ly/eCcFhE
oo. I got link-love for once. RT @BoagLinks hgroups and sub-titles http://bit.ly/9AQAVK
by Frances at
I may be missing something, but what is wrong with header followed by a paragraph that happens to be a sub-heading? Is there any semantic meaning to sub-heading that we need to convey? Wth h1+p we have a hook we can use to style it. I don’t see the point in a new element (hgroup included).
by James Ó Nuanáin at
I had this exact thought when using hgroup recently: RT @TopsyRT: hgroups and sub-titles http://bit.ly/doKOKM
hola te agradesco el aporte
When you have at the top level in a document, the h1 and h2 elements are no longer headings in that document. The entire hgroup element is the heading. For outlining purposes, the hgroup ‘picks’ the highest heading it contains as a summary of itself, and folds away the rest of its detail.