W3C home > Mailing lists > Public > public-html@w3.org > January 2011

Re: rationale for inclusion of hgroup in html5?

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Thu, 27 Jan 2011 10:29:08 +0100
To: Jirka Kosek <jirka@kosek.cz>
Cc: Steve Faulkner <faulkner.steve@gmail.com>, Anne van Kesteren <annevk@opera.com>, HTML WG <public-html@w3.org>
Message-ID: <20110127102908063839.ad5bccac@xn--mlform-iua.no>
Jirka Kosek, Mon, 24 Jan 2011 11:58:32 +0100:
> Steve Faulkner wrote:

> DocBook has title/subtitle for ages. If you have DocBook content like:
> <section>
>   <title>Foo</title>
>   <subtitle>Bar</subtitle>
>   ...content of section...
> </section>

Does DocBook say that <subtitle/> does not belong in the Table of 
Content outline?

> it is usually transformed to HTML as:
> <div class="section">
>   <div class="titlepage">
>     <h2 class="title">Foo</h2>
>     <h3 class="subtitle">Bar</h3>
>   </div>
>   ... content of section ...
> </div>

If there is something wrong with that transformation, then why isn't 
that subtitle header transformed to, for example, <p class="subtitle"> 
rather than <h3 class="subtitle">? 

I ask because Anne mentioned W3C TR's, like XML 1.0, which currently it 
creates this outline:

Extensible Markup Language (XML) 1.0
  W3C Recommendation ...
    1. Appendices
      1.1 Intro
      1.2 Terminology
    2. Documents
I cannot say that it would have been a clear benefit if the "W3C 
Recommendation ..." was concatenated with the top level heading/hidden 
from outline. At least in my outline parser, the subheading is entirely 
OK. It serves as a heading for the metadata section of the spec, were 
the publication date etc is specified.
leif halvard silli
Received on Thursday, 27 January 2011 09:29:42 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:45:30 UTC