SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Non-Member
    Join Date
    Oct 2006
    Location
    Sydney
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    The W3C Markup Validation Service

    hi,


    i am trying to fix the few errors indicated to me by the W3C website, without any good results.

    http://validator.w3.org/check?uri=ht...martcoyote.com

    So i would like to try a with software, may be the errors will be more easy to find and to repair.

    Do you know a good sofware for that?

    thanks

  2. #2
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's no software that will fix validation errors for you, although HTML Tidy may be of some help.

    Just read the error messages from the validator. They tell you exactly what is wrong.

    The first one is an extraneous(?) </table> tag on line 238. It's hard to see what's wrong, because of the soup of nested table tags. You need to look closely at your markup and make sure each <table> tag is matched by exactly one </table> tag.

    Then you have some attribute values without quotation marks. All attribute values must be quoted in XHTML. From the looks of it, you should use HTML 4.01 instead. If not, you need to read up on what XHTML is.

    You're missing the self-closing syntax of some IMG element (should be <img.../>). You're also missing the required alt attribute for images.

    Then you have lots of unescaped ampersands in link URIs. They need to be changed into '&#38;amp;'.
    Birnam wood is come to Dunsinane

  3. #3
    Non-Member
    Join Date
    Oct 2006
    Location
    Sydney
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for helping me, i will try to fix it up.

    I want to mention that the errors are not coming from me, i've just copied the code of the extreme tracking tracker and the others errors are coming from the turnkey template website.




    Quote Originally Posted by AutisticCuckoo
    There's no software that will fix validation errors for you, although HTML Tidy may be of some help.

    Just read the error messages from the validator. They tell you exactly what is wrong.

    The first one is an extraneous(?) </table> tag on line 238. It's hard to see what's wrong, because of the soup of nested table tags. You need to look closely at your markup and make sure each <table> tag is matched by exactly one </table> tag.

    Then you have some attribute values without quotation marks. All attribute values must be quoted in XHTML. From the looks of it, you should use HTML 4.01 instead. If not, you need to read up on what XHTML is.

    You're missing the self-closing syntax of some IMG element (should be <img.../>). You're also missing the required alt attribute for images.

    Then you have lots of unescaped ampersands in link URIs. They need to be changed into '&amp;'.

  4. #4
    SitePoint Wizard drhowarddrfine's Avatar
    Join Date
    Aug 2005
    Posts
    3,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Copying and pasting code from a different page does not always mean it will work without error in yours. It depends on the context from which it was removed and where it is inserted.


Bookmarks

Posting Permissions

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