Hello. On Tue, May 11, 2010 at 5:06 PM, Richard Clark <[email protected]> wrote: > 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 >
<blockquote> can take any flow content, which is defined as: > Most elements that are used in the body of documents and applications are > categorized as flow content. > > a abbr address area (if it is a descendant of a map element) article aside > audio b bdo blockquote br button canvas cite code command datalist del > details dfn div dl em embed fieldset figure footer form h1 h2 h3 h4 h5 h6 > header hgroup hr i iframe img input ins kbd keygen label link (if the > itemprop attribute is present) map mark math menu meta (if the itemprop > attribute is present) meter nav noscript object ol output p pre progress q > ruby samp script section select small span strong style (if the scoped > attribute is present) sub sup svg table textarea time ul var video wbr text <http://www.whatwg.org/html5#flow-content> So in HTML5 <blockquote> doesn't require inline contents to be nested inside another block elements (you may know but that was acceptable too in HTML4 Transitional). Regards, -- Masataka Yakura <[email protected]>
