[whatwg] Paragraphs in blockquotes

Richard Clark hello at richclarkdesign.com
Tue May 11 01:06:11 PDT 2010


Hi

We recently received an email from one of our readers on
html5doctor.com that went like this:


"Hi, in HTML 4.0 Strict & XHTML 1.0 Strict, text inside a blockquote
element is required to be nested inside another block-level element,
e.g. p.
In HTML5 that requirement seems to have been relaxed, as the following
element validates successfully:

<blockquote>This is a blockquote.</blockquote>

The HTML5 spec uses the p element in the usage examples, but does not
mention whether it is required.

Can you please confirm if this requirement has now been deprecated?"


We tested the below which successfully validated:

<!doctype html>
<meta charset=utf-8>
<title>blockquote test</title>
<blockquote>Tiger tiger burning bright</blockquote>

So the question is, are block level elements required in blockquotes
or can the p's be removed from the examples in the spec?

Regards

Rich

------------------------------------------
Twitter: http://twitter.com/rich_clark
http://html5doctor.com
http://html5gallery.com


More information about the whatwg mailing list