[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!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
    
    
More information about the wp-hackers
mailing list