[wp-hackers] p inside blockquote

Elliotte Harold elharo at metalab.unc.edu
Tue Mar 6 14:59:18 GMT 2007

Scot Hacker 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. 

This is another difference between strict and transitional XHTML. In 
strict XHTML blockquote cannot contain raw text. the declaration is:

<!ELEMENT blockquote %Block;>

In transitional XHTML the declaration allows raw text:

<!ELEMENT blockquote %Flow;>

Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!

More information about the wp-hackers mailing list