本文介绍了什么是怪异模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在很多关于设计的文章中,提到了怪癖模式。
任何人都以纯文本和开发前景了解这件事情?

In a lot of articles about design, quirks mode is mentioned.Anybody have an idea about this thing in plain text and in a development prospective?

推荐答案

您可以在此链接中阅读

you can read in this links :

Quirks模式不是
标准。在不同的浏览器中以
quirks模式渲染任何页面可能会使
不同。只要有可能,最好遵循W3C标准
,并尝试避免过去或现在浏览器的问题。

Quirks mode is not, however, a standard. The rendering of any page in quirks mode in different browsers may be different. Whenever possible, it is better to adhere to the W3C standards and try and avoid depending on any past or present browser quirks.

通常,当没有正确的DOCTYPE
声明时,怪异模式打开
,当
是DOCTYPE定义时关闭。然而,
无效的HTML - 对于选择DOCTYPE的
,也可能导致
浏览器切换到怪异模式。

Generally, quirks mode is turned on when there is no correct DOCTYPE declaration, and turned off when there is a DOCTYPE definition. However, invalid HTML - with respect to the chosen DOCTYPE - can also cause the browser to switch to quirks mode.

有关不同浏览器中不同
quirks模式的详细信息,可以在中找到

More information on the different quirks modes in different browsers can be found at QuirksMode.org

这篇关于什么是怪异模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-23 22:08