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.
    You’ve done everything right, but your site is breaking in the latest browsers. A faulty DOCTYPE is likely to blame. This essential ALA article will provide you with DOCTYPEs that work, enabl…

    Comment

    Working...
    X