W3C home > Mailing lists > Public > www-validator@w3.org > August 2004

Re: [VE][79] Error Message Feedback

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Tue, 3 Aug 2004 01:25:42 +0300 (EEST)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0408030123360.12058@korppi.cs.tut.fi>

On Mon, 2 Aug 2004, Matt Seitz wrote:

> Maybe I am misunderstanding the HTML standard.  In HTML 4.0.1, section 9.3.1, I
> see, "The P element represents a paragraph. It cannot contain block-level
> elements (including P itself)."

Right. And ul is a block element.

> Doesn't that mean that a
> ul tag following a p tag is illegal?

No. It does not make the ul element part of the p element. The markup
is valid. It is equivalent, by HTML 4 specifications, to

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 2 August 2004 18:25:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:44 UTC