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

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

Received on Wednesday, 3 January 2007 17:17:59 UTC