Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: doctype meaning

  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Posts
    362
    Thanks
    0
    Thanked 0 Times in 0 Posts

    doctype meaning

    Advise what this line does:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
    and how does it effect JavaScript? I had JavaScript menus that wouldnt work correctly in Netscape 7 until I eliminated this line.

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Posts
    698
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It tells the browser how to interpret your page, what standard the page follow, if it is removed browsers reverts to how the good old interpret and hope for the best.

    for better explanation.
    http://www.alistapart.com/articles/doctype/


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •