Posted by Andy Dingley on 10/09/06 18:29
John Salerno wrote:
> Andy Dingley wrote:
>
> > Obviously <p> is used for paragraphs and <div> should be
> > used for "chunks fo text that aren't a grammatical paragraph"
>
> Just out of curiosity, where did you get that quote from?
Not a quote, it's just indicating an approximation -- in particular
that usinmg <div> in this way (non-para text) doesn't also rule it out
for the other uses of <div>. Quite obviously the content model of
<div> is different from <p> for a start - you can put <div> or <p>
inside a <div>, but never inside a <p>
[Back to original message]
|