Re: [VE][79] Error Message Feedback

On Sun, 16 Jan 2005, Johan Vromans wrote:

> The validator complains about the </p> at line 12. The complaint 
> disappears when the <table>...</table> is removed (as shown at line 14).

P can only contain inline elements [1].  TABLE is not an inline element.  
Since the end tag for P is optional, the <TABLE> tag implies the end of
the P element.  The </P> tag that follows the TABLE thus has no P to
close.

[1] http://www.w3.org/TR/html4/struct/text.html#edef-P

-- 
Liam Quinn

Received on Monday, 17 January 2005 02:16:43 UTC