- From: Jukka K. Korpela <jkorpela@cs.tut.fi>
- Date: Wed, 13 Oct 2004 22:04:42 +0300 (EEST)
- To: marcus hennig <marcus.hennig@ziplip.com>
- Cc: www-validator@w3.org
On Wed, 13 Oct 2004, marcus hennig wrote: > <ul> > <li>test</li> > <p> > test > </p> > </ul> - - > Line 22, column 2: document type does not allow element "P" here; assuming missing "LI" start-tag This is because a <ul> element may contain <li> elements and nothing else. It's a list, and the only thing it can contain is list items. You need put move the <p> element out of the <ul> element _or_ put it inside some <li> element there. > But my book teach me thats right! Why doesnt work? Bad book! Get your money back. ;-) (Or maybe you just misunderstood what it said.) -- Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Wednesday, 13 October 2004 19:05:14 UTC