DOCTYPE tag

Discussion in 'Search Engine Optimization' started by bentong, Jul 5, 2005.

  1. #1
    how important is <!DOCTYPE> on every page? does bot give weight on this tag?
     
    bentong, Jul 5, 2005 IP
  2. dcristo

    dcristo Illustrious Member

    Messages:
    19,776
    Likes Received:
    1,200
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    7
    #2
    The html purists will tell you its very important. Are you asking what effect it will have on rankings? If so, similar to meta tags, next to none.
     
    dcristo, Jul 5, 2005 IP
  3. web-spy

    web-spy Active Member

    Messages:
    127
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    93
    #3
    Yeah, it's very important if your site should be valid.
    Indeed, I read that the doctype is actually used only by validators, such as http://validator.w3.org/.
     
    web-spy, Jul 5, 2005 IP
  4. mushroom

    mushroom Peon

    Messages:
    369
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    In most cases it will not matter

    But in some cases with out a "<!DOCTYPE>", some browsers may not render the webpage correctly.

    Any veiwer loss no matter how small, is still a loss.
     
    mushroom, Jul 5, 2005 IP
  5. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #5
    I have seen pages render HTML wrong because the doctype was excluded.

    I've also seen pages with bad HTML be rendered correctly despite there being an error in the HTML.

    But at the end of the day, if you are going to do something, you should do it right. Validate the HTML properly with the document declaration for the level HTML you use.
     
    noppid, Jul 5, 2005 IP
  6. bentong

    bentong Banned

    Messages:
    3,543
    Likes Received:
    257
    Best Answers:
    0
    Trophy Points:
    0
    #6
    what particular meta tags? will this be a big change for its ranking?

    should i include this on all pages or just the index page?
     
    bentong, Jul 5, 2005 IP