Re: div versues section

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 UTC