My nav is undefined, even with my document type declared

Post all HTML related questions here. No support.

Moderator: Project members

Post Reply
Message
Author
RDalmagro
500 Command not understood
Posts: 2
Joined: 2014-03-26 20:55
First name: Rodrigo
Last name: Dalmagro

My nav is undefined, even with my document type declared

#1 Post by RDalmagro » 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 "

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>
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.

User avatar
botg
Site Admin
Posts: 33055
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: My nav is undefined, even with my document type declared

#2 Post by botg » 2014-03-28 08:09

The error message is correct, there's no nav in XHTML 1.1

RDalmagro
500 Command not understood
Posts: 2
Joined: 2014-03-26 20:55
First name: Rodrigo
Last name: Dalmagro

Re: My nav is undefined, even with my document type declared

#3 Post by RDalmagro » 2014-04-03 13:13

Ok thanks in advance
Last edited by boco on 2014-04-03 15:11, edited 1 time in total.
Reason: Removed spam. No spam/advertising in these boards!

Post Reply