Matt Thommes wrote:
Hello, I'm having some trouble deciding if certain <blockquote>
scenarios are valid, or semantically correct.

Example 1:

<p><blockquote>TEXT</blockquote></p>

invalid -- a P can only contain inline elements

<blockquote><p>TEXT</p></blockquote>

valid

<blockquote>TEXT</blockquote>

invalid -- BLOCKQUOTE can only contain block elements

- Is the <p> even necessary? If so, does it go INSIDE or OUTSIDE the
<blockquote>?

This is easily determined, BTW, by *reading the HTML spec*. :-)

FWIW,
--
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                          dream.  code.


****************************************************** The discussion list for http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to