W3C home > Mailing lists > Public > www-html@w3.org > February 2003

<section>, <body> and the H1 debate

From: kelvSYC <kelvsyc@shaw.ca>
Date: Sat, 15 Feb 2003 17:32:37 -0700
To: W3 HTML Mailing List <www-html@w3.org>
Message-id: <BA742A35.3A6D%kelvsyc@shaw.ca>

While looking at the H1 debate I can't help to think of <section>...

<section>
  <h>1</h>
  <section>
    <h>2</h>
  </section>
  <section>
    <h>3</h>
  </section>
</section>

I ask this: do you consider the section marked with 1 as its header as a
first- or second-level section, and would it change if I wrapped <body>
around it (since <body> is virtually synonymous with a <section> element
under a different name)?

To solve this mystery, let's propose the following for XHTML 2.0: Simply
remove <title>.

Now, some of you might think the idea is absurd, but I add that, seeing that
<body> is a giant <section>, and that every document body virtually needs
some kind of header, the function of <title> should be transferred to that
of <h> inside </body>.

That is, this would be equivalent:

(What we have now)
<head>
  <title>...</title>
  ...
</head>
<body>
  ...
</body>

(What I propose)
<head>
  ...
</head>
<body>
  <h>...</h>
</body>

And just like in older implementations, if no first-generation <h>
descendant of <body> is found, then the title is implied by the URI.
Received on Saturday, 15 February 2003 19:32:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT