- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Tue, 3 Aug 2004 01:25:42 +0300 (EEST)
- To: www-validator@w3.org
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 <p><ul><li></ul> is valid. It is equivalent, by HTML 4 specifications, to <p></p><ul><li></li></ul> -- Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 2 August 2004 18:25:44 UTC