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

Posted by Chaddy2222 on 11/12/69 11:48

Jukka K. Korpela wrote:
> 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.

<snip>
Yeah well, strictly speeking it doesn't however it does tell a web
browser how to render the page.


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.
Yeah well, I believe I explained this in my previous post, however I
will admit I am still learning about issues to do with the DTD myself.
But most browsers will read the DTD, however some choose to ignore it,
depending on the browser and DTD used.

>
> 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.
Yes, I believe I did write something to that effect also.
--
Regards Chad. http://freewebdesign.cjb.cc

 

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

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