W3C home > Mailing lists > Public > www-validator@w3.org > July 2002

Re: not parsing...

From: Tim Luoma <luomat@peak.org>
Date: Wed, 17 Jul 2002 08:29:29 -0400
Message-ID: <3D356329.7070601@peak.org>
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..


> 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


for a list of complete ones

ps -- wondering why you need/want to validate?

Received on Wednesday, 17 July 2002 08:29:47 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:28 UTC