[whatwg] The div element

Dave Hodder dmh at dmh.org.uk
Thu Feb 28 12:57:38 PST 2008

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]


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 



More information about the whatwg mailing list