Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6

Thread: W3C Failure

  1. #1
    New Coder
    Join Date
    Dec 2004
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    W3C Failure

    I checked a site that I'm just getting started on through validator.w3.org/ and found an error that I can't figure out. If you wouldn't mind having a look I'd really appreciate it. I like to keep things straight as I go along. The address is http://hovsc.org/CGW_Test/

    http://validator.w3.org/check?uri=ht...doctype=Inline

    It's the fourth error that I don't get: "end tag for element "HEAD" which is not open." I believe the first three are being caused by the fourth and likewise with the fifth. Anyway, I can't find my mistake. (Six and seven I have no problem with.)

    Thanks.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Canada
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by cweaver
    I believe the first three are being caused by the fourth and likewise with the fifth.
    it usually works the other way around.
    start with the first error and work your way down. the errors further down sometimes get fixed automatically as you progress through the coding top to bottom.

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Noscript tags aren't allowed in the Head. Link tags are not also allowed in noscript tags. Edit you also close your link tags like so /> that isn't necessary in HTML.

  • #4
    New Coder
    Join Date
    Dec 2004
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you also close your link tags like so /> that isn't necessary in HTML.
    Isn't necessary is an understatement. They're flat out not wanted. I took them out and the error flags vanished.

    I also moved the Noscript tag and took care of another error. Don't know what to do about the link within the Noscript tag. It came with the menu system I'm using and I think it's necessary. Any thoughts on this?

    Thanks for the help. Any other suggestions will be welcome.

  • #5
    New Coder
    Join Date
    Dec 2004
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by pb&j
    it usually works the other way around.
    You were spot on here.

    Thanks.

  • #6
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Your page shouldn't rely on javascript to look good. Your page should be functional without javascript. Go through that separate CSS file and combine as many styles as you can.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •