W3C home > Mailing lists > Public > www-validator@w3.org > January 2005

Re: [VE][79] Error Message Feedback

From: Liam Quinn <liam@htmlhelp.com>
Date: Sun, 16 Jan 2005 21:17:12 -0500 (EST)
To: Johan Vromans <jvromans@squirrel.nl>
cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.44.0501162114560.11690-100000@localhost.localdomain>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:18 GMT