WordPress.org

Forums

Validation Errors (3 posts)

  1. tvdork
    Member
    Posted 8 years ago #

    So I finally got around to validating my code(I know nothing about code) and I got rid of 60 errors but 4 still remain. I can't figure them out for the life of me.

    Here they are:

    # Error Line 413, column 37: character ";" not allowed in attribute specification list .

    for (var i=0; i<ahrefs.length;i++) {

    # Error Line 413, column 37: element "ahrefs.length" undefined .

    for (var i=0; i<ahrefs.length;i++) {

    Error Line 419, column 12: end tag for "ahrefs.length" omitted, but OMITTAG NO was specified .

    </script>

    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

    Error Line 420, column 10: end tag for "div" omitted, but OMITTAG NO was specified .

    </body></html>

    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

    ***

    If anyone could help me locate the source of these errors so I can fix them that would be great.

    Thanks guys.

    My site is: http://www.mediaobsessed.com

  2. Class
    Member
    Posted 8 years ago #

    What validator are you using? Probably not what you want to hear but I wouldn't worry about validating the JS code of your plugins :)

  3. tvdork
    Member
    Posted 8 years ago #

    I used the W3C mark-up validator.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags