Can't validate code for HTML 4.01 Transitional

Discussion in 'HTML & Website Design' started by TruthTrekker, Jan 31, 2008.

  1. #1
    For some reason, this is the error I'm getting from WC3:

     
    TruthTrekker, Jan 31, 2008 IP
  2. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    jamesicus, Jan 31, 2008 IP
  3. TruthTrekker

    TruthTrekker Guest

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    jamesicus,

    Thanks....

    I'm a newbie, I've just built my first site after reading a few books on HTML & CSS.

    The validator insists I'm using UTF-8, when, in fact, I have the meta info set to charset=iso-8859-1.

    This is driving me nuts. :)
     
    TruthTrekker, Jan 31, 2008 IP
  4. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Post the URI please -- you cannot post a live link yet -- the form http:// domain name / file.ext will do -- spaces can be removed when entering it in the address bar.

    James
     
    jamesicus, Jan 31, 2008 IP
  5. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Your meta tag isn't the end-all say-all. You can put charset=Bob'sbutt, but the validator (like a browser) is truly looking at what the hosting server is saying in the HTTP headers. So, there may be a mismatch between either the meta tag and how your programme saved the file (when you first save your file, it should be asking you how (what charset) you want to save it to) OR a mismatch between your meta tag/saved file type and the server's HTTP header.

    Also, if nothing says anything either way, the validator often defaults to utf-8.

    One thing you could possibly do is change your charset meta tag to utf-8 (same characters really so you shouldn't see a difference) and save the file as such and resubmit and see what the validator pukes at then.

    Though I think James knows more about this than I do...
     
    Stomme poes, Jan 31, 2008 IP
  6. TruthTrekker

    TruthTrekker Guest

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Here it is:


    http:// buyephedradietpills/ com
     
    TruthTrekker, Feb 1, 2008 IP
  7. TruthTrekker

    TruthTrekker Guest

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I appreciate the input. I did change the meta info to utf-8.
     
    TruthTrekker, Feb 1, 2008 IP
  8. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #8
    On line 33 you have an incorrect copyright symbol -- change it to © -- your page will validate.

    James
     
    jamesicus, Feb 1, 2008 IP
  9. TruthTrekker

    TruthTrekker Guest

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    On the index page?


    I'm using Homesite and did an extended find, plus I have the line gutter enabled. I also did an extended search and all the © entities are all correct.
     
    TruthTrekker, Feb 1, 2008 IP
  10. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Using the URI you provided ..........

    I don't know anything about Homesite -- that symbol was rejected by the Validator -- change it by hand and the page will validate.

    James
     
    jamesicus, Feb 1, 2008 IP
  11. TruthTrekker

    TruthTrekker Guest

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    James,

    I found it....

    The site validated!

    Regards,

    Tony
     
    TruthTrekker, Feb 1, 2008 IP
  12. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Congratulations, Tony.

    James
     
    jamesicus, Feb 1, 2008 IP