[whatwg] The div element

Geoff Pack wrote:
> Why does the HTML5 spec say "The div element represents nothing at all" ?
> [http://www.whatwg.org/specs/web-apps/current-work/#the-div]

<snip>

Personally I'd describe it more along the lines of:

"The div element is a generic way of representing document structure, 
but offers no further semantics.  Where appropriate, elements with more 
specific meanings (such as section or aside) should be used instead. 
Use of the div element may be appropriate for extended features not 
covered by this specification, for example a new type of user interface 
control."

Regards,

Dave

Received on Thursday, 28 February 2008 12:57:38 UTC