- From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
- Date: Mon, 19 Mar 2007 14:25:05 +0100
- 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 UTC