Doctype

Discussion in 'HTML & Website Design' started by seogray, May 25, 2009.

  1. #1
    Hello friends,

    Will anybody make me clear what exactly the doctype is and why doctype is used in websites. and please make me clear aso about all types of doctypes and which is used most nowdays and whay.

    I would appericiate all the responses.

    Thanks
     
    seogray, May 25, 2009 IP
  2. GWebSol_Online

    GWebSol_Online Banned

    Messages:
    171
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello

    I was using ajax in .Net, its not work without doctype.

    Regards
    GOnline
     
    GWebSol_Online, May 25, 2009 IP
  3. seogray

    seogray Peon

    Messages:
    245
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    friends....Can anyone give me simple answers rather giving these complicated lines...Thanks
     
    seogray, May 25, 2009 IP
  4. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #4
    The doctype is the Document Type Definition. It's the set of rules defining what each element of your web page means and how it's handled. All new pages should be using the HTML4.01 Strict doctype. There is no need for 'transitional' in new sites.

    Without a doctype, the browser will render your page in 'quirks mode'. This mode uses all the wrong things and you never want to be there.
     
    drhowarddrfine, May 25, 2009 IP