W3C home > Mailing lists > Public > www-html@w3.org > September 2002

Re: div versues section

From: Joanne Hunter <jrhunter@menagerie.tf>
Date: Sat, 28 Sep 2002 16:26:50 -0400
To: www-html@w3.org
Message-Id: <20020928162650.7c4f36e1.jrhunter@menagerie.tf>

The following text was discovered Saturday 28 September 2002 in a note
attributed to one ""Curtis C. Hovey" <chovey@cox.net>":

> From section:
> The section element, in conjunction with the h element, offers a
> mechanism for structuring documents into sections. 
> 
> From div:
> The div element, in conjunction with the id and class attributes, offer
> a generic mechanism for adding structure to documents.
> 
> But section also may use the id and class attributes as any HTML element
> may.
> 
> I don't think HTML needs a section, div can be used with h instead.  

I think the reason for having a new element here is that <div>'s semantics
are already pretty much defined as being arbitrary and more or less
nonexistent, while <section> is intended to have fairly well defined
semantics.


-- 
Joanne Hunter <http://menagerie.tf/~jrhunter/>  Say No to HTML Mail!/"\
 Of course, I don't know how interesting any of this really is,     \ /
 but now you've got it in your brain cells so you're stuck with it.  X
      --Gary Larson                            ASCII Ribbon Campaign/ \
Received on Saturday, 28 September 2002 17:54:46 GMT

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