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

Kornel Lesinski kornel at osiolki.net
Wed Jan 3 17:17:59 PST 2007


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>
</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



More information about the whatwg mailing list