W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] <div> as a wrapper for inline content

From: Kornel Lesinski <kornel@osiolki.net>
Date: Thu, 04 Jan 2007 01:17:59 -0000
Message-ID: <op.tllu79zb4suneb@g5.local>
On Thu, 04 Jan 2007 00:58:34 -0000, Ian Hickson <ian at hixie.ch> wrote:

> What's the use case for <div> elements containing inlines?

 From microformats.org:

<div class="vcard">
  <a class="url fn" href="http://tantek.com/">Tantek ?elik</a>
  <div class="org">Technorati</div>

It can be generalized to "when <div> is used in place of elements with  
inline content model and which are not in HTML." The simplest example  
could be <div class="h7">.

regards, Kornel Lesi?ski
Received on Wednesday, 3 January 2007 17:17:59 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC