W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2008

[whatwg] The div element

From: Dave Hodder <dmh@dmh.org.uk>
Date: Thu, 28 Feb 2008 20:57:38 +0000
Message-ID: <47C72042.7020309@dmh.org.uk>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:01 UTC