On 6 maj 2005, at 22.57, Lukasz Grabun wrote:
Roger Johansson wrote:
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 >:
So yes, the p (or some other block-level element) is necessary, and it goes inside the blockquote element.
Have a look: http://grabun.com/tmp/block-no-p.html
Ah. It's allowed in Transitional, but not in Strict. I never use Transitional these days so I didn't think about that, but yes, that document is valid.
/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 ******************************************************
