# Doctype \> which doctype to use?

**URL:** <https://forum.kirupa.com/t/doctype-which-doctype-to-use/188694>\
**Category:** Uncategorized\
**Created:** [May 10, 2006, 4:08am UTC](https://forum.kirupa.com/t/doctype-which-doctype-to-use/188694 "2006-05-10T04:08:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![multimediamkt](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@multimediamkt](https://forum.kirupa.com/u/multimediamkt)\
**Post date:** [May 10, 2006, 4:08am UTC](https://forum.kirupa.com/t/doctype-which-doctype-to-use/188694/1 "2006-05-10T04:08:52Z")

</div>

It is a bit confusing usually Dreamweaver opens a new html file as below :  
\<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”  
“[http://www.w3.org/TR/html4/loose.dtd](http://www.w3.org/TR/html4/loose.dtd)”\>

Whenever I use this doctype and try to run some jscripts , I notice that some don´t work , and as soon as doctype lines are wiped out then it works fine ;

I´ve tested the code on ie6 , opera , firefox , netscape 8.1 without doctype lines and all ran very well ;

so why to employ something that is recommendable but so nagging ?
