[wp-hackers] p inside blockquote

Sam Angove sam at rephrase.net
Thu Mar 1 05:15:30 GMT 2007


On 3/1/07, Scot Hacker <shacker at birdhouse.org> wrote:
> There is no XHTML rule that says this should happen. Create a test
> document with a blockquote, without the inner p, and validate it.
> It's fine. Both p and blockquote are block-level HTML elements. Why
> nest one inside the other?

The p element cannot contain block-level elements.

<http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_p>


More information about the wp-hackers mailing list