Question Detail

Why I get this error? How can fix that?

</ul></div></div><!-- end #main-nav -->


Thread Reply

Anonymous

- 1 years ago

If your doctype is correct, there should be no problem. I've tested

<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>

<body>
<div><ul><li>li</li></ul></div><!-- end #main-nav -->
</body>

</html>

with no warnings and errors. There is something wrong somewhere else. (Maybe <<>> or missing closing tag />)