div versues section

Semantically, div and section are opposites, but they appear to have the
same outcome when used. The div is taking the whole document and
dividing it into parts, while the section is taking parts and combining
them into a whole document.  The div element might divide the document
in name, but as it is a block-level container, it is defining a block
like a section. The section proposes to do what div is already doing in
my documents.  In the working draft div and section are identical except
for their first sentence.

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.  

-- 
__C U R T I S  C. H O V E Y__________________
chovey@cox.net
No matter where you go...there you are

Received on Saturday, 28 September 2002 13:13:05 UTC