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

Posted by Steve Pugh on 11/28/75 11:48

Chaddy2222 wrote:

> But most browsers will read the DTD, however some choose to ignore it,

No. No browser reads the DTD for HTML. IE doesn't, Firefox doesn't,
Opera doesn't, Safari doesn't, Lynx doesn't.

> depending on the browser and DTD used.

Not unless you're talking about XML documents served as XML in which
case some browsers will fetch the DTD under some circumstances. But
that's irrelevant for HTML and for XHTML served as HTML.

Don't confuse the browsers' use of the doctype as a magic code to
switch rendering modes with anything to do with actually fetching and
reading the DTD referenced by the doctype.

Steve

 

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

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