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

Anne van Kesteren annevk at opera.com
Wed Jan 3 17:14:03 PST 2007


On Thu, 04 Jan 2007 01:58:34 +0100, Ian Hickson <ian at hixie.ch> wrote:
> It depends if by "early adopters" you mean people who just change the
> DOCTYPE, or people who actually switch to using the new elements. We have
> to balance making life easier for early adopters with making life better
> on the long run.
>
> What's the use case for <div> elements containing inlines?

It seems to be mostly used for constructs HTML5 solves by having a native  
element for it, like:

   <div class="date">01-01-2007</div>

   <div><a href="..."><img src="..." alt="..."></a></div>

   ...

Early adopters, however, can't really use the new elements due to crazy  
parsing.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list