You are here: Re: What happens if no DOCT YPE? « HTML « IT news, forums, messages
Re: What happens if no DOCT YPE?

Posted by Jukka K. Korpela on 06/11/06 22:31

Michael Laplante <nowhereman@twilightzone.net> scripsit:

> In the absence of a doctype declaration, what do browser do?

Popular browsers go to "quirks" mode, i.e. intentionally misbehave.

> Is there a default based on strict compliance?

I understand all the words, and I can parse the question grammatically, but
it still makes no sense to me. Please rephrase.

> Fall back to some sort of transitional setting?

There is no "transitional setting".

Contrary to what you seem to believe, and what some authorities might seem
to be telling you, browsers do not actually change their behaviour according
to the document type declaration. For example, if you declare a Strict
doctype, they don't start ignoring elements and attributes that do not
belong to the Strict version.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

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

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