W3C home > Mailing lists > Public > www-html@w3.org > June 2005

Re: [XHTML2] How are UAs to interpret <h> and <hx> elements?

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sat, 11 Jun 2005 10:45:54 +1000
Message-ID: <42AA3442.70102@lachy.id.au>
To: David Woolley <david@djwhome.demon.co.uk>
CC: www-html@w3.org

David Woolley wrote:
> This is obviously taking the "there can be no error cases" line, but
> it also has shades of the separator argument.  Although Hn isn't empty,
> it is still structurally a separator.

Then that would make <h> a separator in some cases too. e.g.

<section>
   <h>Foo</h>
   <p>Foo's content...</p>

   <h>Bar</h>
   <p>Bar's content...</p>
</section>

In the above case, the Bar heading is structurally a seperator from the 
Foo section.  Is this a problem?  Should we require that such content be 
marked up like this:

<section>
   <h>Foo</h>
   <p>Foo's content...</p>
</section>
<section>
   <h>Bar</h>
   <p>Bar's content...</p>
</section>

Or, should we just say that both examples are semantically identical, 
and accept the separator-like behaviour in this case?

With regards to the hn elements, I'd rather see their removal from 
XHTML2, especially given that they're in a different namespace from 
XHTML1.  I really can't see any reason for their inclusion at all.

If, however, XHTML2 does end up using the XHTML1 namespace, as has been 
requested several times, then there would be a reason to include, but 
deprecate, them and define their semantics when used in combination with 
<section> and <h>

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Saturday, 11 June 2005 00:46:01 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:03 UTC