W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] <hgroup> functionality absorbed into <header>?

From: Kornel Lesiński <kornel@geekhood.net>
Date: Fri, 16 Oct 2009 10:40:39 +0100
Message-ID: <C33B79CE-53D8-4044-A43A-EA64BF169ED2@geekhood.net>
On 9 Oct 2009, at 09:18, Ian Hickson wrote:

> For example, the W3C copy of HTML5 says:
>
>   <h1>HTML5</h1>
>   <h2>A vocabulary and associated APIs for HTML and XHTML</h2>
>   <h2>Editor's Draft 9 October 2009</h2>
>   ...
>   <h2>Abstract</h2>

> ...which is what it would be interpreted as. This is what is meant:
>
>   <section>
>    <h1>HTML5;
>        A vocabulary and associated APIs for HTML and XHTML;
>        Editor's Draft 9 October 2009</h1>

If that's what you mean, why not write it this way?

    <h1>HTML5
       <span class="subtitle">
        A vocabulary and associated APIs for HTML and XHTML<br>
        Editor's Draft 9 October 2009</span></h1>

Your version with split <h2> seems to use it only for visual effect.


I still think that <subtitle> (subheader, tagline) would be just as  
effective, less confusing and less likely to break outline when used  
improperly...

-- 
regards, Kornel Lesi?ski
Received on Friday, 16 October 2009 02:40:39 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:18 UTC