On 6 maj 2005, at 21.53, Lukasz Grabun wrote:
Matt Thommes wrote:
Both are correct. I use the former one when there are more than one paragraph to cite.<blockquote><p>TEXT</p></blockquote> <blockquote>TEXT</blockquote>
- Is the <p> even necessary? If so, does it go INSIDE or OUTSIDE the <blockquote>?
Unless I'm misreading the W3C Recommendation, blockquote elements can only have block-level content. That makes the second example incorrect. From < http://www.w3.org/TR/html4/struct/text.html#h-9.2.2 >:
"<!ELEMENT BLOCKQUOTE - - (%block;|SCRIPT)+ -- long quotation -->"
"BLOCKQUOTE is for long quotations (block-level content) and Q is intended for short quotations (inline content) that don't require paragraph breaks."
So yes, the p (or some other block-level element) is necessary, and it goes inside the blockquote element.
/Roger
-- http://www.456bereastreet.com/
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
