WordPress.org

Forums

XHTML validation errors (3 posts)

  1. itissue
    Member
    Posted 7 years ago #

    I tried validating my index page using http://validator.w3.org/. It gave me 11 errors, all of which I found to not be errors at all, or at least I don't think they are errors. Can anyone tell me what's wrong with my code?

    My URL is http://suefeng.com

    Thanks,
    Sue

  2. Jeremy Clark
    Moderator
    Posted 7 years ago #

    Some of those errors will cause problems. None of them are to hard to fix either.

    Fixing this one here will most likely get rid of atleast 3 or 4 cascading errors.

    Line 155, Column 41: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.

  3. itissue
    Member
    Posted 7 years ago #

    I fixed the XHTML validation for the homepage, but there are still errors in other pages. For instance, in the "About" page I got this error:

    * Line 1, column 3: XML Parsing Error: Start tag expected, '<' not found

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.

    * Line 1, column 0: character "" not allowed in prolog

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.


    How do I fix this error?

Topic Closed

This topic has been closed to new replies.

About this Topic