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

Re: [VE][79] Error Message Feedback

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 17 Jan 2005 13:38:10 +0200 (EET)
To: www-validator@w3.org
Cc: Johan Vromans <jvromans@squirrel.nl>
Message-ID: <Pine.GSO.4.58.0501171335010.10930@korppi.cs.tut.fi>

On Sun, 16 Jan 2005, Liam Quinn wrote:

> 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.

So technically the markup would be valid if the </P> were removed.
This would mean that there is a P element with empty content
(<P></P>) before the table. This is valid but explicitly frowned upon in
HTML specifications, which even say that browsers should ignore empty
paragraphs (though I doubt whether they do); the spec says that style
sheets, not empty paragraphs, should be used to create spacing when

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 17 January 2005 11:38:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:44 UTC