My nav is undefined, even with my document type declared
Posted: 2014-03-27 18:44
My index page, fails to validate via xhtml 1.1 standards
I receive the validation error " Line 38, Column 6: element "nav" undefined "
My nav is clearly defined in my CSS and has been fine until I tried to validate, does anybody know why this is happening? I've even declared the document type.
Thanks in advance.
I receive the validation error " Line 38, Column 6: element "nav" undefined "
Code: Select all
<div id="header">Leon's CS150 Assignment</div>
<nav> <!-- this is the line quoted in my error message -->
<div>
<a class="Menu-Item" href="#">Home</a>
<a class="Menu-Item" href="about.html">About</a>
<a class="Menu-Item" href="cv.html">CV</a>
<a class="Menu-Item" href="../wordpress">Wordpress</a>
<a class="Menu-Item" href="../webshop/catalog">Webshop</a>
</div>
</nav>
Thanks in advance.