Should I be worried? W3 Validator Failed

Discussion in 'Search Engine Optimization' started by i30, Jun 25, 2005.

  1. #1
    i30, Jun 25, 2005 IP
  2. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #2
    That's really bad code. I doubt it will be parsed correctly to be of use past the second document declaration.

    There is one Doc declaration, well look.
    <DOCTYPE>
    <html>
    <head>
    </head>
    <body>
    </body>
    </html>

    You have to clean up that code quite a bit.
     
    noppid, Jun 25, 2005 IP
  3. i30

    i30 Guest

    Messages:
    288
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Do you know how could have happened? I used Dreamweaver MX a bunch, could that be why?
     
    i30, Jun 25, 2005 IP
  4. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #4
    It looks like a cut and paste of more then one web page. I've never seen DW do that itself.
     
    noppid, Jun 25, 2005 IP
  5. City2

    City2 Peon

    Messages:
    542
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ya, DW doesnt do that at all. It appears to be a copy and paste. Also you have opening tags then closing tags with no content. You only need <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> once at the top of the site.
     
    City2, Jun 25, 2005 IP
  6. i30

    i30 Guest

    Messages:
    288
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I php include three things per page. Should I go into these included files and delete the <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> from them?
     
    i30, Jun 25, 2005 IP
  7. i30

    i30 Guest

    Messages:
    288
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I guess my real question is, should I learn how and fix this? Would it help my site get spidered better?

    I looked around, and even Google has a ton of violations. Should I bother with this?
     
    i30, Jun 25, 2005 IP
  8. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #8
    I can't live without it. I lose sleep and get up in the middle of the night to fix it, At least on most pages.

    It's up to you, a few errors is one thing, but three doc declarations can't be good nor 3 headers.

    I prefer it to validate myself.
     
    noppid, Jun 25, 2005 IP