- From: Tim Luoma <luomat@peak.org>
- Date: Wed, 17 Jul 2002 08:29:29 -0400
- To: Shajan Chacko <chippan@rediffmail.com>
- CC: www-validator@w3.org
Shajan Chacko wrote: > What is the need of this line > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> That is the DOCTYPE declaration which allows your document to be validated.[1] It tells the browser what set of rules you are adhering to, and will make your pages render differently in most current browsers. Search google on '+why use doctype' for more Also search for 'browsers standards mode quirks mode' > almost all servers are not doing this.. yet... > Then what is the need of it... 1) they will be required to use them for XHTML and XML 2) to set browser into 'standards' mode for more accurate rendering BTW the above DOCTYPE is incomplete... see http://www.w3.org/QA/2002/04/valid-dtd-list for a list of complete ones ps -- wondering why you need/want to validate? http://www.htmlvalidator.com/htmlval/whyvalidate.html http://valet.htmlhelp.com/page/why.html http://www.htmlhelp.com/tools/validator/reasons.html
Received on Wednesday, 17 July 2002 08:29:47 UTC