For faster navigation, this Iframe is preloading the Wikiwand page for 浏览器引擎比较 (HTML).

浏览器引擎比较 (HTML)

此条目或章节需要时常更新。有关事物或许会随着时间而有所变化。未有可靠来源臆测内容可能会被移除。若您发现有尚未更新之处,欢迎您编辑更新

下表比较了HTML对一些排版引擎的支持与兼容性。请参阅各个产品的条目获得更多信息。除非脚注中另有规定,比较均基于稳定版本,无任何附加组件、扩展或外部程序。

本条目只考虑HTML 4与用于text/htmlXHTML 1.0(所谓“HTML兼容”XHTML) 。欲了解更多XHTML相关的比较,请参见排版引擎比较 (XHTML)

如给出了版本号,则说明自该版本起完全支持该特性(基于HTML 4.01)。专有扩展不包括在内。

W3C不再推荐使用的标签、属性和专有标签在排版引擎比较 (非标准HTML)中进行了比较。

表格说明

引擎命名

这里使用后端的引擎名而不是浏览器的名称。使用各浏览器引擎的浏览器如下表所示。

排版引擎 发行版本 预览版本 使用
Amaya 11.4.7[1] 不适用 停止开发;Amaya
Blink 537.36 源代码[注 1] Chromium/Chrome(28+)、Opera(15+)、YandexMicrosoft Edge(新版)
EdgeHTML 13.10586 [2] 不适用 Microsoft Edge(旧版)、通用Windows平台 (UWP)JavaScript应用
Gecko
标准版77.0.1(2018年8月8日,​5年前​(2018-08-08[3]
延长支持版(ESR)68.9.0(2018年6月26日,​6年前​(2018-06-26[4]


Beta及开发者版128.0b9[5]在维基数据编辑(2024年6月28日)
Nightly129.0a1[6]在维基数据编辑(2024年6月10日)
所有Mozilla软件,包括FirefoxSeaMonkeyGaleonCaminoK-MeleonFlock(至2.x版本);Debian IceWeasel;GNU IceCat(前身为GNU IceWeasel);Cyberfox;Icedove、Iceape与Iceowl;Firefox for mobile("Fennec")
KHTML 4.12.3[7] 不适用 Konqueror[注 2]
Presto 2.12.388 不适用 停止开发;Opera与Opera Mobile现在使用Blink;任天堂DS & DSi浏览器Internet Channel
Tasman (Mac版IE 5.2.3) 不适用 2003年停止开发;Mac OS XInternet Explorer 5以上
Trident 7.0(IE 11) 不适用 Internet Explorer与其他Internet Explorer shellMaxthon(仅限Microsoft Windows操作系统)、Windows Phone 8
WebKit 534.20 每日构建[注 3] Tizen(OS与浏览器)、Safari(桌面与移动版)、Google Chrome(28版本之前)、Maxthon 3Shiira, iCab 4OmniWeb 5.5+、Web、Adobe AIRMidori, Adobe Dreamweaver CS4与CS5Android浏览器、Palm webOS浏览器、Symbian S60浏览器、OWB英语Origyn Web BrowserSteamRekonqAroraFlock (版本3以上)、RockMelt海豚浏览器SleipnirKonqueror[注 2]
  1. ^ chromium / chromium/blink. chromium.googlesource.com. Google. [2014-05-27]. 
  2. ^ 2.0 2.1 在Konqueror中,用户可以切换排版引擎。
  3. ^ WebKit Nightly Builds. webkit.org. [2014-05-27]. 


取值

以下各格的颜色表示该排版引擎的最新版本或指定版本(如果给出版本号的话)对该功能的支持程度。没有取值的版本号表示该排版引擎首次完全支持该功能。

取值 含义
表示该排版引擎完全地支持该功能或元素。
表示该功能或元素尚未有支持。
部分 表示该功能或元素有实现进展,但并不支持所有取值,对于已支持的取值,该实现是正确的。
不正确 表示该功能或元素有实现进展,但是实现并非在所有情况都是正确无误的。
实验性质 表示该功能或元素有实现进展,但是使用另外的属性或元素名(浏览器前辍)。多半是不完全实现或是有过多的漏洞
抛弃 表示该属性/元素不再受到支持。
每日构建 表示该功能或元素在未发布的版本有某种程度的支持。预期将有完整支持。
依情况 表示该属性/元素仅在某些平台支持或设定在某些配置后支持。

全局结构元素

Trident Tasman Gecko WebKit KHTML Presto iCab
基本元素
html <3.1[IE 5.0] 1.0 1.0
head <3.1[IE 4.0]
body
元数据
title <3.1[IE 4.0] 1.0 1.0
meta
标题
h1 <3.1[IE 4.0] 1.0 1.0
h2
h3
h4
h5
h6
分组元素
div <3.1[IE 4.0] 1.0 1.0
span

文本元素

Trident Tasman Gecko WebKit KHTML Presto iCab
短语
em <3.1[IE 4.0] 1.0 1.0
strong
dfn
code
samp
kbd
var
cite
acronym
abbr 3.1
引文
blockquote <3.1[IE 4.0] 1.0 1.0
q 4.0 1.8[注 1]
下标与上标
sub <3.1[IE 4.0] 1.0 1.0
sup
行与段
p <3.1[IE 4.0] 1.0 1.0
pre
br <3.1[IE 5.0]
标记文档修改
ins <3.1[IE 4.0] 1.0 1.0
del

列表元素

Trident Tasman Gecko WebKit KHTML Presto iCab
无序和有序列表
ul <3.1[IE 4.0] 1.0 1.0
ol
li
定义列表
dl <3.1[IE 4.0] 1.0 1.0
dt
dd

表格元素

Trident Tasman Gecko WebKit KHTML Presto iCab
基本元素
table <3.1[IE 4.0] 1.0 1.0
caption
tr
th
td
行组
thead <3.1[IE 4.0] 1.0 1.0
tbody
tfoot ?
列组
colgroup <3.1[IE 4.0] ? 1.0 1.0
col

链接元素

Trident Tasman Gecko WebKit KHTML Presto iCab
a <3.1[IE 4.0] 1.0 1.0
link
base

多媒体元素

Trident Tasman Gecko WebKit KHTML Presto iCab
图像
img <3.1[IE 4.0] 1.0 1.0
一般包含
object 4.0[注 2] 1.0 1.0
param <3.1[IE 6.0]
图像映射
map <3.1[IE 4.0] 1.0 1.0
area 5.0

框架元素

框架元素可将文档呈现于多个视图中,可以是独立窗口或子窗口。框架排版只能用于框架集配置中。所有框架在XHTML 1.1中均不可用(使用通用的对象元素代替内联框架)。

Trident Tasman Gecko WebKit KHTML Presto iCab
框架排版
frameset <3.1[IE 4.0] 1.0 1.0
frame
noframes
内联框架
iframe <3.1[IE 4.0] 1.0 1.0

表单元素

Trident Tasman Gecko WebKit KHTML Presto iCab
基本结构
form <3.1[IE 4.0] 1.0 1.0
fieldset
legend
表单控件和标签
button <3.1[IE 4.0]

[注 3]

1.0 1.0
textarea <3.1[IE 4.0]
input
label 3.4.2
列表框(组合框)
select <3.1[IE 4.0] 1.0 1.0
optgroup
option

表现元素

尽管并非所有的表现元素都不被推荐使用,但使用这些元素不利于样式表的发展。 不被推荐使用的元素在严格配置与XHTML 1.1下被禁止。

Trident Tasman Gecko WebKit KHTML Presto iCab
字体风格
b <3.1[IE 4.0] 1.0 1.0
i
big
small
tt
水平线
hr <3.1[IE 4.0] 1.0 1.0

样式表元素

Trident Tasman Gecko WebKit KHTML Presto iCab
<link rel="style" … /> <3.1[IE 4.0] 1.0 1.0
style 6.0[注 4]

脚本元素

用于嵌入客户端脚本(JavaScript)的元素。

Trident Tasman Gecko WebKit KHTML Presto iCab
script <3.1[IE 5.0] 1.0 1.0
noscript 不正确

语言元素

Trident Tasman Gecko WebKit KHTML Presto iCab
bdo <3.1[IE 5.0] ? 1.0 部分 1.0 ?

通用属性

Trident Tasman Gecko WebKit KHTML Presto iCab
元素标识符
id <3.1[IE 3.0] 1.0 1.0
class
内嵌样式
style <3.1[IE 3.0] 1.0 1.0
公告资讯
title <3.1[IE 4.0] 1.0 1.0
语言资讯
lang <3.1[IE 4.0] 1.0 1.0
dir <3.1[IE 5.0]

注释

  1. ^ <q>在Gecko 1.8之前不支持嵌套使用。[8]
  2. ^ 对图像来说,该对象会被添加一个框架。不支持其它内容类型且作为一个ActiveX包装,该元素不会被正确实现。版本7之前不支持嵌套对象回退机制。[9]
  3. ^ 在Internet Explorer 8.0(trident 4.0)之前和早期的兼容模式下,innerText属性会代替值属性提交。[10]
  4. ^ Internet Explorer 9(Trident 5.0)与更早的版本<style>元素受到限制。[11][12]

参考资料

  1. ^ Amaya Binary Releases, Most recent download link in stable
  2. ^ Change log between EdgeHTML 12.10240 and 13.10586
  3. ^ Firefox 77.0.1, See All New Features, Updates and Fixes. mozilla.org. Mozilla基金会. 2020-06-03. 
  4. ^ Firefox ESR 68.9.0, See All New Features, Updates and Fixes. mozilla.org. Mozilla基金会. 2020-06-02. 
  5. ^ Index of /pub/firefox/releases/128.0b9/. 2024年6月28日 [2024年7月2日] (英语). 
  6. ^ Firefox Nightly 129.0a1, See All New Features, Updates and Fixes. 2024年6月10日 [2024年6月11日] (英语). 
  7. ^ Download for kdelibs, Most recent download link in stable
  8. ^ New Web Developer Features in Deer Park Alpha 1. Mozilla. 27 May 2005 [25 March 2011]. (原始内容存档于2008-07-19). 
  9. ^ What's New in Internet Explorer 7. Microsoft Developer Network (Microsoft). [25 March 2011]. 
  10. ^ button element | button object (Internet Explorer). Microsoft. [29 November 2012]. (原始内容存档于2016-03-20). 
  11. ^ A webpage that uses CSS styles does not render correctly in Internet Explorer. Microsoft. 31 August 2010 [25 March 2011]. (原始内容存档于2015-03-02). 
  12. ^ Removal of style sheet limits (Windows), Microsoft, [2016-02-02], (原始内容存档于2015-04-14) 

外部链接

{{bottomLinkPreText}} {{bottomLinkText}}
浏览器引擎比较 (HTML)
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?