You are here: Re: What for does one need doctype? « HTML « IT news, forums, messages
Re: What for does one need doctype?

Posted by Jukka K. Korpela on 11/18/74 11:48

Chaddy2222 <rockradio2000@yahoo.com.au> scripsit:

> The document type decleration (DTD) tells the web browser what type
> the document is and what set of rules to use when displaying the
> website.

No it doesn't. The OP will find better answers by looking at the group
archives at http://groups.google.com . The issue has been discussed so many
times that people are tired of it, so you mostly get answers from people who
didn't bother checking things out either. Formally, the DOCTYPE declaration
refers to a DTD, but browsers don't really even read the DTD.

The short answer is that by not using a DOCTYPE declaration exactly as
specified in HTML specifications, you probably throw Internet Explorer and
some other browsers into "quirks mode", which means intentionally broken
(nonstandard) mode of operation. Google for "DOCTYPE sniffing" if you need
the dirty details.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация