SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Nov 2006
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Importance of DOCTYPE Declaration

    hi, may i know what's the important of DOCTYPE Declaration?

    If i do not have this in my page, what will happen?
    newbie...

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This should answer most of your questions.

  3. #3
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,290
    Mentioned
    198 Post(s)
    Tagged
    3 Thread(s)

    doctype

    The DOCTYPE helps the browser determine how to handle the file. If you don't use it, or use it incorrectly, the browser will (should) "best guess" what to do. AFAIK this is usually "quirks" mode. It may or may not make that much difference depending on how the page is put together and whether or not you care if it renders the way you intended it to.

  4. #4
    SitePoint Zealot
    Join Date
    Nov 2006
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tyssen&Mittineague,

    thanks for your reply ....
    newbie...


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
  •