W3C home > Mailing lists > Public > public-html@w3.org > January to March 2007

Re: Preparing to launch the Forms Task Force ...

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Mon, 19 Mar 2007 14:25:05 +0100
Message-ID: <45FE8F31.3060104@disruptive-innovations.com>
To: Laurens Holst <lholst@students.cs.uu.nl>
Cc: Matthew Raymond <mattraymond@earthlink.net>, public-html@w3.org

On 19/03/2007 13:23, Laurens Holst wrote:

> <section>
>   <h>Heading</h>
>   <p>Blabla.</p>
>   <section>
>      <h>Subsection</h>
>      <p>…</p>
>   </section>
>   <p>So, to conclude, blabla.</p>
> </section>
> 
> In HTML4, that would be:
> 
> <h1>Heading</h1>
> <p>Blabla.</p>
> <h2>Subsection</h2>
> <p>…</p>
> <p>So, to conclude, blabla.</p>

Please note that it's also much easier to assign styles
to element types h1 h2 ... h6 than using the following
selectors:

   section > h
   section > section > h
   ...
   section > section > section > section > section > section > h

Of course, element type selectors are also much more efficient from a
style engine point of view than nested childhood selectors.

I think this is part of my original comments on an early xhtml2 WD ages
ago...

</Daniel>
Received on Monday, 19 March 2007 13:25:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 19 March 2007 13:25:26 GMT