Results 1 to 4 of 4

 

Thread: Doctype - Is there a need to conform?

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Jun 2006
    Posts
    224
    Thanks
    3
    Thanked 16 Times in 14 Posts


    Several of my sites were created using an old editor which did not insert a doctype. They need little updating. Whilst they still rank well, I am considering re-writing them to conform. But is there any point, will it actually be of benefit?
    I note that the new Amazon site does not have a doctype header.

    Thanks
    Paul

  2. #2
    babrees's Avatar
    Registered User

    Status
    Offline
    Join Date
    Feb 2007
    Location
    Norfolk
    Posts
    1,588
    Thanks
    142
    Thanked 101 Times in 89 Posts
    Sorry, I don't know the answer, although many people say yes it does matter. Also, I believe there is a legal requirement so disabled people can access, but don't know the ins and outs.

    I always make my sites conform, however, as soon as I put an affiliate link on it does not validate because merchants and networks to not write their links correctly so they do validate.

  3. #3
    tbp
    Registered User

    Status
    Offline
    Join Date
    Dec 2006
    Posts
    1,998
    Thanks
    0
    Thanked 22 Times in 22 Posts
    Technically, your pages should have a doc type and be well formed with valid html. However, as you've seen the browers can render them anyway and they are readable by the search engine bots.

    The Doctypes are more for other devices which read your pages so they can work out how to interpret them.

    I wouldn't bust a gut putting them in in one go, but aim to have them all there eventually, and make sure any new sites you build have them.

  4. #4
    pete_coles's Avatar
    Administrator

    Status
    Offline
    Join Date
    May 2007
    Posts
    513
    Thanks
    14
    Thanked 82 Times in 62 Posts
    Yea, I'd kind of agree with whats been said already.

    You might find if you don't declare a doctype you may run into problems with scripts and some funny layout bugs too! - its only ever happened to me once but its worth declaring it so it doesn't happen, only takes 2mins



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. XHTML Validation
    By seekituk in forum Affiliate Marketing Lounge
    Replies: 5
    Last Post: 19-08-06, 08:37 PM

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
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2