Web Analytics Made Easy -
StatCounter doctype meaning - CodingForum

Announcement

Collapse
No announcement yet.

doctype meaning

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new 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
    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/

    Comment

    Working...
    X