From 1269ba9bb27f208d13ec792d8dbe3c3f5476b6b2 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Wed, 26 Jan 2022 15:37:51 +0800 Subject: Correct copywriting for files/zh-cn/web/html/* except element. Ref: #3490 #3834 --- files/zh-cn/web/html/quirks_mode_and_standards_mode/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/zh-cn/web/html/quirks_mode_and_standards_mode/index.html') 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> </html> -

范例中的DOCTYPE,<!DOCTYPE html>,是所有可用的 DOCTYPE 之中最简单的,也是 HTML5 所推荐的。HTML 的早期变种也属于推荐标准,不过,当今的浏览器都会对这个 DOCTYPE 使用标准模式,就算是早已过时的 Internet Explorer 6 也一样。目前,并没有正当的理由,去使用其他更复杂的 DOCTYPE。如果你使用其他的 DOCTYPE,你可能会面临触发接近标准模式或者怪异模式的风险。

+

范例中的 DOCTYPE,<!DOCTYPE html>,是所有可用的 DOCTYPE 之中最简单的,也是 HTML5 所推荐的。HTML 的早期变种也属于推荐标准,不过,当今的浏览器都会对这个 DOCTYPE 使用标准模式,就算是早已过时的 Internet Explorer 6 也一样。目前,并没有正当的理由,去使用其他更复杂的 DOCTYPE。如果你使用其他的 DOCTYPE,你可能会面临触发接近标准模式或者怪异模式的风险。

请确定你把 DOCTYPE 正确地置于 HTML 文件的顶端。如果有任何其他字符位于 DOCTYPE 之前,比如注释或 XML 声明,会导致 Internet Explorer 9 或更早期的浏览器触发怪异模式。

-- cgit v1.2.3-54-g00ecf