Quote:
Originally Posted by Toxaris
<blockquote> is an allowed tag for epubs... It just should be inside <p> tags.
|
This is a very surprising statement to me. So far as I know, <blockquote> can be use as first child of <body> and do not need to be enclosed by <p>.
The following code validate with
http://validator.w3.org/
Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>title</title>
</head>
<body>
<blockquote>
<p>test</p>
</blockquote>
</body>
</html>
Maybe you meant that when using strict HTML/XHTML, <blockquote> can only contain block-level elements like <p> so
Code:
<blockquote>
text 1
text 2
text 3
</blockquote>
is invalid for strict XHTML whereas
Code:
<blockquote>
<p>
text 1
text 2
text 3
</p>
</blockquote>
is valid.