aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/html/quirks_mode_and_standards_mode
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/html/quirks_mode_and_standards_mode')
-rw-r--r--files/zh-cn/web/html/quirks_mode_and_standards_mode/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/html/quirks_mode_and_standards_mode/index.html b/files/zh-cn/web/html/quirks_mode_and_standards_mode/index.html
index c726d21f1d..1aec0810ca 100644
--- a/files/zh-cn/web/html/quirks_mode_and_standards_mode/index.html
+++ b/files/zh-cn/web/html/quirks_mode_and_standards_mode/index.html
@@ -25,7 +25,7 @@ translation_of: Web/HTML/Quirks_Mode_and_Standards_Mode
</body>
&lt;/html&gt;</pre>
-<p>范例中的DOCTYPE,<code>&lt;!DOCTYPE html&gt;</code>,是所有可用的 DOCTYPE 之中最简单的,也是 HTML5 所推荐的。HTML 的早期变种也属于推荐标准,不过,当今的浏览器都会对这个 DOCTYPE 使用标准模式,就算是早已过时的 Internet Explorer 6 也一样。目前,并没有正当的理由,去使用其他更复杂的 DOCTYPE。如果你使用其他的 DOCTYPE,你可能会面临触发接近标准模式或者怪异模式的风险。</p>
+<p>范例中的 DOCTYPE,<code>&lt;!DOCTYPE html&gt;</code>,是所有可用的 DOCTYPE 之中最简单的,也是 HTML5 所推荐的。HTML 的早期变种也属于推荐标准,不过,当今的浏览器都会对这个 DOCTYPE 使用标准模式,就算是早已过时的 Internet Explorer 6 也一样。目前,并没有正当的理由,去使用其他更复杂的 DOCTYPE。如果你使用其他的 DOCTYPE,你可能会面临触发接近标准模式或者怪异模式的风险。</p>
<p>请确定你把 DOCTYPE 正确地置于 HTML 文件的顶端。如果有任何其他字符位于 DOCTYPE 之前,比如注释或 XML 声明,会导致 Internet Explorer 9 或更早期的浏览器触发怪异模式。</p>