W3C home > Mailing lists > Public > public-html@w3.org > March 2008

Re: [whatwg] The div element

From: liorean <liorean@gmail.com>
Date: Sat, 1 Mar 2008 07:03:55 +0100
Message-ID: <cee13aa30802292203tff08fadq845411f9a6555be1@mail.gmail.com>
To: "HTML WG" <public-html@w3.org>

On 01/03/2008, Nicholas C. Zakas <html@nczonline.net> wrote:
> From this description, it seems like the <section/> element has little use.
> If you're talking about writing articles, most authors consider the start
> and end of sections as implicitly defined by headings. Making this explicit
> seems unnecessary so long as headings are still available and used. It's
> just extra syntax to represent something that is more easily represented
> without it.

Sections allow some things that are impossible with the outline
hierarchy of HTML4. In HTML4, once you had a header you needed a
header of the same level or higher to make a paragraph not belong to
that header. With sections you can make paragraphs belong to headers
above the immediately preceeding one. You can have paragraphs that do
not belong where they would in the HTML4 outline hierarchy. For
example you can have a third level header as direct child of a first
level header in the outline, even if there is a second level header
before it.

Sections allow stopping the association between a header and all that
comes after it at some point. HTML4 outline hierarchy couldn't do
this.


Section is as I recall an idea imported from XHTML2. From what I
understood, sections were originally meant to relate to sections of
the information content as differentiated from divisions of the
document structure.
-- 
David "liorean" Andersson
Received on Saturday, 1 March 2008 06:04:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:13 GMT