Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

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

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 10 Jun 2005 00:16:15 +0000 (UTC)
To: www-html@w3.org
Cc: www-html-editor@w3.org, xhtml2-issues@hades.mn.aptest.com
Message-ID: <Pine.LNX.4.61.0506100010060.31439@dhalsim.dreamhost.com>


Hi,

XHTML2 does not seem to define the semantics of the <h> and <hX> elements 
in enough detail to implement a user agent that intelligently displays 
sections. For example, I can't work out what the correct document outline 
should be for the following fragment:

   <body>
    <h> AAA </h>
    <p> aaa </p>
    <h3> BBB </h3>
    <p> bbb </p>
    <h2> CCC </h2>
    <section>
     <h6> DDD </h6>
     <p> ddd </p>
     <h1> EEE </h1>
     <ol>
      <li> eee </li>
      <li> <h> FFF </h> </li>
      <li> fff </li>
     </ol>
     <blockquote>
      <p> fff </p>
      <h> GGG </h>
      <p> ggg </p>
     </blockquote>
     <p> ggg </p>
    </section>
    <p> ccc </p>
   </body>

I request that the XHTML2 specification include an algorithm that exactly 
defines how to obtain a document outline from a given XHTML2 document, so 
that user agents can interoperabily represent document outlines.

Cheers,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/        U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 10 June 2005 00:16:20 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.