[VE][66] Error Message Feedback

Hello,

i created a html 4.01 page as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>test</title>
  <meta name="searchtitle" content="test">
  <meta http-equiv="Content-Type"
 content="text/html; charset=iso-8859-1">
  <meta http-equiv="Content-Style-Type" content="text/css">
  <style type="text/css">
<!--
body { margin: 5px;}
..boxco{
 border:1px solid black; padding:5px; background-image: url(h_back.jpg); repeat-x scroll center top;}
-->
</style>
</head>
<body>

<ul>
<li>test</li>
<p>
test
</p>
</ul>
</body>
</html>

_____________________________________________________________

But the result from online validator is:

Line 22, column 2: document type does not allow element "P" here; assuming missing "LI" start-tag

<p>

But my book teach me thats right! Why doesnt work?

Thank you.

Regards,

Hennig

Received on Wednesday, 13 October 2004 18:47:03 UTC