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

Henri Sivonen hsivonen at iki.fi
Thu Jan 4 00:05:29 PST 2007


On Jan 4, 2007, at 02:58, Ian Hickson wrote:

> Yes, it is used as a way to step around strictness requirements.  
> It's a bug in HTML4 that people have been abusing, as far as I can  
> tell.
...
> We have to balance making life easier for early adopters with  
> making life better on the long run.

OK.

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

It seems to me that the usual use case is avoiding <p>, because the  
author is too shy to claim that the particular piece of inline  
content constitutes a paragraph or the author doesn't want to undo  
the default style for <p>.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/





More information about the whatwg mailing list