HTML 参考手册 - 浏览器支持

提供浏览器支持信息的 HTML 参考手册

下表列出了所有 HTML 元素及其属性的浏览器支持:

<a>

Chrome Internet Explorer / Edge Firefox Safari Opera
<a> Yes Yes Yes Yes Yes
download 14.0 18.0 20.0 10.1 15.0
href Yes Yes Yes Yes Yes
hreflang Yes Yes Yes Yes Yes
media Yes Yes Yes Yes Yes
ping Yes No Yes No Yes
referrerpolicy 51.0 79.0 50.0 11.1 38.0
rel Yes Yes Yes Yes Yes
target Yes Yes Yes Yes Yes
type Yes Yes Yes Yes Yes

<abbr>

Chrome Internet Explorer / Edge Firefox Safari Opera
<abbr> Yes Yes Yes Yes Yes

<address>

Chrome Internet Explorer / Edge Firefox Safari Opera
<address> Yes Yes Yes Yes Yes

<area>

Chrome Internet Explorer / Edge Firefox Safari Opera
<area> Yes Yes Yes Yes Yes
alt Yes Yes Yes Yes Yes
coords Yes Yes Yes Yes Yes
download Yes Yes Yes Yes Yes
href Yes Yes Yes Yes Yes
hreflang Yes Yes Yes Yes Yes
media Yes Yes Yes Yes Yes
referrerpolicy 51.0 79.0 50.0 11.1 38.0
rel Yes Yes Yes Yes Yes
shape Yes Yes Yes Yes Yes
target Yes Yes Yes Yes Yes
type Yes Yes Yes Yes Yes

<article>

Chrome Internet Explorer / Edge Firefox Safari Opera
<article> 6.0 9.0 4.0 5.0 11.1

<aside>

Chrome Internet Explorer / Edge Firefox Safari Opera
<aside> 6.0 9.0 4.0 5.0 11.1

<audio>

Chrome Internet Explorer / Edge Firefox Safari Opera
<audio> 4.0 9.0 3.5 4.0 11.5
autoplay 4.0 9.0 3.5 4.0 11.5
controls 4.0 9.0 3.5 4.0 11.5
loop 4.0 9.0 3.5 4.0 11.5
muted 4.0 10.0 11.0 7.1 11.5
preload 4.0 9.0 4.0 4.0 11.5
src 4.0 9.0 3.5 4.0 11.5

<b>

Chrome Internet Explorer / Edge Firefox Safari Opera
<b> Yes Yes Yes Yes Yes

<base>

Chrome Internet Explorer / Edge Firefox Safari Opera
<base> Yes Yes Yes Yes Yes
href Yes Yes Yes Yes Yes
target Yes Yes Yes Yes Yes

<bdi>

Chrome Internet Explorer / Edge Firefox Safari Opera
<bdi> 16.0 79.0 10.0 No 15.0

<bdo>

Chrome Internet Explorer / Edge Firefox Safari Opera
<bdo> Yes Yes Yes Yes Yes
dir Yes Yes Yes Yes Yes

<blockquote>

Chrome Internet Explorer / Edge Firefox Safari Opera
<blockquote> Yes Yes Yes Yes Yes
cite Yes Yes Yes Yes Yes

<body>

Chrome Internet Explorer / Edge Firefox Safari Opera
<body> Yes Yes Yes Yes Yes

<br>

Chrome Internet Explorer / Edge Firefox Safari Opera
<br> Yes Yes Yes Yes Yes

<button>

Chrome Internet Explorer / Edge Firefox Safari Opera
<button> Yes Yes Yes Yes Yes
autofocus 5.0 10.0 4.0 5.0 9.6
disabled Yes Yes Yes Yes Yes
form 10.0 16.0 4.0 5.1 9.5
formaction 9.0 10.0 4.0 5.1 15.0
formenctype 9.0 10.0 4.0 5.1 11.5
formmethod 9.0 10.0 4.0 5.1 15.0
formnovalidate 6.0 11.0 4.0 Yes Yes
formtarget 9.0 10.0 4.0 5.1 10.6
name Yes Yes Yes Yes Yes
type Yes Yes Yes Yes Yes
value Yes Yes Yes Yes Yes

<canvas>

Chrome Internet Explorer / Edge Firefox Safari Opera
<canvas> 4.0 9.0 2.0 3.1 9.0
height 4.0 9.0 2.0 3.1 9.0
width 4.0 9.0 2.0 3.1 9.0

<caption>

Chrome Internet Explorer / Edge Firefox Safari Opera
<caption> Yes Yes Yes Yes Yes

<cite>

Chrome Internet Explorer / Edge Firefox Safari Opera
<cite> Yes Yes Yes Yes Yes

<code>

Chrome Internet Explorer / Edge Firefox Safari Opera
<code> Yes Yes Yes Yes Yes

<col>

Chrome Internet Explorer / Edge Firefox Safari Opera
<col> Yes Yes Yes Yes Yes
span Yes Yes Yes Yes Yes

<colgroup>

Chrome Internet Explorer / Edge Firefox Safari Opera
<colgroup> Yes Yes Yes Yes Yes
span Yes Yes Yes Yes Yes

<data>

Chrome Internet Explorer / Edge Firefox Safari Opera
<data> 62.0 13.0 22.0 No 49.0
value 62.0 13.0 22.0 No 49.0

<datalist>

Chrome Internet Explorer / Edge Firefox Safari Opera
<datalist> 20.0 10.0 4.0 12.1 9.5

<dd>

Chrome Internet Explorer / Edge Firefox Safari Opera
<dd> Yes Yes Yes Yes Yes

<del>

Chrome Internet Explorer / Edge Firefox Safari Opera
<del> Yes Yes Yes Yes Yes
cite Yes Yes Yes Yes Yes
datetime Yes Yes Yes Yes Yes

<details>

Chrome Internet Explorer / Edge Firefox Safari Opera
<details> 12.0 79.0 49.0 6.0 15.0
open 12.0 79.0 49.0 6.0 15.0

<dfn>

Chrome Internet Explorer / Edge Firefox Safari Opera
<dfn> Yes Yes Yes Yes Yes

<dialog>

Chrome Internet Explorer / Edge Firefox Safari Opera
<dialog> 37.0 79.0 53.0* No 24.0
open 37.0 79.0 53.0* No 24.0
  • Not supported by default, but can be enabled in about:config (set dom.dialog_element.enabled to true).

<div>

Chrome Internet Explorer / Edge Firefox Safari Opera
<div> Yes Yes Yes Yes Yes

<dl>

Chrome Internet Explorer / Edge Firefox Safari Opera
<dl> Yes Yes Yes Yes Yes

<dt>

Chrome Internet Explorer / Edge Firefox Safari Opera
<dt> Yes Yes Yes Yes Yes

<em>

Chrome Internet Explorer / Edge Firefox Safari Opera
<em> Yes Yes Yes Yes Yes

<embed>

Chrome Internet Explorer / Edge Firefox Safari Opera
<embed> Yes Yes Yes Yes Yes
height Yes Yes Yes Yes Yes
src Yes Yes Yes Yes Yes
type Yes Yes Yes Yes Yes
width Yes Yes Yes Yes Yes

<fieldset>

Chrome Internet Explorer / Edge Firefox Safari Opera
<fieldset> Yes Yes Yes Yes Yes
disabled Yes Yes Yes 6.0 Yes
form Yes Yes Yes Yes Yes
name Yes 11.0 Yes Yes Yes

<figcaption>

Chrome Internet Explorer / Edge Firefox Safari Opera
<figcaption> 8.0 9.0 4.0 5.1 11.0

<figure>

Chrome Internet Explorer / Edge Firefox Safari Opera
<figure> 8.0 9.0 4.0 5.1 11.0

<footer>

Chrome Internet Explorer / Edge Firefox Safari Opera
<footer> 8.0 9.0 4.0 5.0 11.1

<form>

Chrome Internet Explorer / Edge Firefox Safari Opera
<form> Yes Yes Yes Yes Yes
accept Yes Yes Yes Yes Yes
action Yes Yes Yes Yes Yes
autocomplete Yes Yes 4.0 5.2 15.0
enctype Yes Yes Yes Yes Yes
method Yes Yes Yes Yes Yes
name Yes Yes Yes Yes Yes
novalidate Yes 10.0 4.0 10.1 15.0
rel Yes Yes Yes Yes Yes
target Yes Yes Yes Yes Yes

<h1> - <h6>

Chrome Internet Explorer / Edge Firefox Safari Opera
<h1> - <h6> Yes Yes Yes Yes Yes

<head>

Chrome Internet Explorer / Edge Firefox Safari Opera
<head> Yes Yes Yes Yes Yes

<header>

Chrome Internet Explorer / Edge Firefox Safari Opera
<header> 5.0 9.0 4.0 5.0 11.1

<hr>

Chrome Internet Explorer / Edge Firefox Safari Opera
<hr> Yes Yes Yes Yes Yes

<html>

Chrome Internet Explorer / Edge Firefox Safari Opera
<html> Yes Yes Yes Yes Yes
xmlns Yes Yes Yes Yes Yes

<i>

Chrome Internet Explorer / Edge Firefox Safari Opera
<i> Yes Yes Yes Yes Yes

<iframe>

Chrome Internet Explorer / Edge Firefox Safari Opera
<iframe> Yes Yes Yes Yes Yes
allow 60.0 79.0 74.0 11.1 47.0
allowfullscreen 27.0 11.0 -ms- 18.0 7.0 Yes
allowpaymentrequest No No No No No
height Yes Yes Yes Yes Yes
name Yes Yes Yes Yes Yes
referrerpolicy 51.0 79.0 50.0 11.1 38.0
sandbox 4.0 10.0 17.0 5.0 15.0
src Yes Yes Yes Yes Yes
srcdoc 20.0 79.0 25.0 6.0 15.0
width Yes Yes Yes Yes

<img>

Chrome Internet Explorer / Edge Firefox Safari Opera
<img> Yes Yes Yes Yes Yes
alt Yes Yes Yes Yes Yes
crossorigin Yes Yes Yes Yes Yes
height Yes Yes Yes Yes Yes
ismap Yes Yes Yes Yes Yes
loading 77.0 79.0 75.0 No 64.0
longdesc Yes Yes Yes Yes Yes
referrerpolicy 51.0 79.0 50.0 11.1 38.0
sizes Yes Yes Yes Yes Yes
src Yes Yes Yes Yes Yes
srcset 34.0 ? 38.0 8.0 21.0
usemap Yes Yes Yes Yes Yes
width Yes Yes Yes Yes Yes

<input>

Chrome Internet Explorer / Edge Firefox Safari Opera
<input> Yes Yes Yes Yes Yes
accept 26.0 10.0 37.0 11.1 15.0
alt Yes Yes Yes Yes Yes
autocomplete 17.0 6.0 2.0 5.1 10.0
autofocus 5.0 11.0 4.0 5.0 9.6
checked Yes Yes Yes Yes Yes
dirname Yes 79.0 No Yes Yes
disabled Yes Yes Yes Yes Yes
form Yes Yes Yes 5.1 10.6
formaction Yes 10.0 Yes 5.1 10.6
formenctype Yes 10.0 Yes 5.1 10.6
formmethod Yes 10.0 Yes 5.1 10.6
formnovalidate Yes 10.0 Yes 10.1 10.6
formtarget Yes 10.0 Yes 5.1 10.6
height Yes Yes 16.0 Yes Yes
list 20.0 10.0 4.0 No 9.6
max 5.0 10.0 16.0 5.1 10.6
maxlength 4.0 10.0 4.0 5.1 15.0
min 5.0 10.0 16.0 5.1 10.6
minlength 40.0 17.0 51.0 10.1 27.0
multiple 6.0 10.0 3.6 5.0 11.0
name Yes Yes Yes Yes Yes
pattern 5.0 10.0 4.0 10.1 9.6
placeholder 10.0 10.0 4.0 5.0 11.0
readonly Yes Yes Yes Yes Yes
required 5.0 10.0 4.0 10.1 9.6
size Yes Yes Yes Yes Yes
src Yes Yes Yes Yes Yes
step 6.0 10.0 16.0 5.0 10.6
type Yes Yes Yes Yes Yes
value Yes Yes Yes Yes Yes
width Yes Yes 16.0 Yes Yes

<ins>

Chrome Internet Explorer / Edge Firefox Safari Opera
<ins> Yes Yes Yes Yes Yes
cite Yes Yes Yes Yes Yes
datetime Yes Yes Yes Yes Yes

<kbd>

Chrome Internet Explorer / Edge Firefox Safari Opera
<kbd> Yes Yes Yes Yes Yes

<label>

Chrome Internet Explorer / Edge Firefox Safari Opera
<label> Yes Yes Yes Yes Yes
for Yes Yes Yes Yes Yes
form Yes Yes Yes Yes Yes

<legend>

Chrome Internet Explorer / Edge Firefox Safari Opera
<legend> Yes Yes Yes Yes Yes

<li>

Chrome Internet Explorer / Edge Firefox Safari Opera
<li> Yes Yes Yes Yes Yes
value Yes Yes Yes Yes Yes

<link>

Chrome Internet Explorer / Edge Firefox Safari Opera
<link> Yes Yes Yes Yes Yes
crossorigin 25.0 79.0 18.0 ? 15.0
href Yes Yes Yes Yes Yes
hreflang Yes Yes Yes Yes Yes
media Yes Yes Yes Yes Yes
referrerpolicy 51.0 79.0 50.0 11.1 38.0
rel Yes Yes Yes Yes Yes
sizes No No No No No
title Yes Yes Yes Yes Yes
type Yes Yes Yes Yes Yes

<main>

Chrome Internet Explorer / Edge Firefox Safari Opera
<main> 26.0 12.0 21.0 7.0 16.0

<map>

Chrome Internet Explorer / Edge Firefox Safari Opera
<map> Yes Yes Yes Yes Yes
name Yes Yes Yes Yes Yes

<mark>

Chrome Internet Explorer / Edge Firefox Safari Opera
<mark> 6.0 9.0 4.0 5.0 11.1

<meta>

Chrome Internet Explorer / Edge Firefox Safari Opera
<meta> Yes Yes Yes Yes Yes
charset Yes Yes Yes Yes Yes
content Yes Yes Yes Yes Yes
http_equiv Yes Yes Yes Yes Yes
name Yes Yes Yes Yes Yes

<meter>

Chrome Internet Explorer / Edge Firefox Safari Opera
<meter> 8.0 13.0 16.0 6.0 11.5
form No No No No No
high 8.0 13.0 16.0 6.0 11.5
low 8.0 13.0 16.0 6.0 11.5
max 8.0 13.0 16.0 6.0 11.5
min 8.0 13.0 16.0 6.0 11.5
optimum 8.0 13.0 16.0 6.0 11.5
value 8.0 13.0 16.0 6.0 11.5

<nav>

Chrome Internet Explorer / Edge Firefox Safari Opera
<nav> 5.0 9.0 4.0 5.0 11.1

<noscript>

Chrome Internet Explorer / Edge Firefox Safari Opera
<noscript> Yes Yes Yes Yes Yes

<object>

Chrome Internet Explorer / Edge Firefox Safari Opera
<object> Yes Yes Yes Yes Yes
data Yes Yes Yes Yes Yes
form No No No No No
height Yes Yes Yes Yes Yes
name Yes Yes Yes Yes Yes
type Yes Yes Yes Yes Yes
usemap No No Yes No No
width Yes Yes Yes Yes Yes

<ol>

Chrome Internet Explorer / Edge Firefox Safari Opera
<ol> Yes Yes Yes Yes Yes
reversed 18.0 79.0 18.0 6.0 12.1
start Yes Yes Yes Yes Yes
type Yes Yes Yes Yes Yes

<optgroup>

Chrome Internet Explorer / Edge Firefox Safari Opera
<optgroup> Yes Yes Yes Yes Yes
disabled Yes 8.0 Yes Yes Yes
label Yes Yes Yes Yes Yes

<option>

Chrome Internet Explorer / Edge Firefox Safari Opera
<option> Yes Yes Yes Yes Yes
disabled Yes 8.0 Yes Yes Yes
label Yes 8.0 No Yes Yes
selected Yes Yes Yes Yes Yes
value Yes Yes Yes Yes Yes

<output>

Chrome Internet Explorer / Edge Firefox Safari Opera
<output> 10.0 13.0 4.0 5.1 11.0
for 10.0 13.0 4.0 7.0 11.5
form No No No No No
name 10.0 13.0 4.0 7.0 11.5

<p>

Chrome Internet Explorer / Edge Firefox Safari Opera
<p> Yes Yes Yes Yes Yes

<param>

Chrome Internet Explorer / Edge Firefox Safari Opera
<param> Yes Yes Yes Yes Yes
name Yes Yes Yes Yes Yes
value Yes Yes Yes Yes Yes

<picture>

Chrome Internet Explorer / Edge Firefox Safari Opera
<picture> 38.0 13.0 38.0 9.1 25.0

<pre>

Chrome Internet Explorer / Edge Firefox Safari Opera
<pre> Yes Yes Yes Yes Yes

<progress>

Chrome Internet Explorer / Edge Firefox Safari Opera
<progress> 8.0 10.0 16.0 6.0 11.0
max 8.0 10.0 16.0 6.0 11.0
value 8.0 10.0 16.0 6.0 11.0

<q>

Chrome Internet Explorer / Edge Firefox Safari Opera
<q> Yes Yes Yes Yes Yes
cite Yes Yes Yes Yes Yes

<rp>

Chrome Internet Explorer / Edge Firefox Safari Opera
<rp> 5.0 5.5 38.0 5.0 15.0

<rt>

Chrome Internet Explorer / Edge Firefox Safari Opera
<rt> 5.0 5.5 38.0 5.0 15.0

<ruby>

Chrome Internet Explorer / Edge Firefox Safari Opera
<ruby> 5.0 5.5 38.0 5.0 15.0

<s>

Chrome Internet Explorer / Edge Firefox Safari Opera
<s> Yes Yes Yes Yes Yes

<samp>

Chrome Internet Explorer / Edge Firefox Safari Opera
<samp> Yes Yes Yes Yes Yes

<script>

Chrome Internet Explorer / Edge Firefox Safari Opera
<script> Yes Yes Yes Yes Yes
async 8.0 10.0 3.6 5.1 15.0
crossorigin 30.0 18.0 13.0 13.0 12.1
defer 8.0 10.0 3.5 5.0 15.0
integrity 45.0 17.0 43.0 13.0 66.0
nomodule 61.0 16.0 60.0 11.0 48.0
referrerpolicy 70.0 79.0 65.0 No Yes
src Yes Yes Yes Yes Yes
type Yes Yes Yes Yes Yes

<section>

Chrome Internet Explorer / Edge Firefox Safari Opera
<section> 5.0 9.0 4.0 5.0 11.5

<select>

Chrome Internet Explorer / Edge Firefox Safari Opera
<select> Yes Yes Yes Yes Yes
autofocus Yes 10.0 No Yes Yes
disabled Yes 9.0 Yes Yes Yes
form Yes Yes Yes Yes Yes
multiple Yes Yes Yes Yes Yes
name Yes Yes Yes Yes Yes
required Yes 10.0 4.0 Yes Yes
size Yes Yes Yes Yes Yes

<slot>

Chrome Internet Explorer / Edge Firefox Safari Opera
<slot> 53.0 79.0 63.0 10.0 40.0

<small>

Chrome Internet Explorer / Edge Firefox Safari Opera
<small> Yes Yes Yes Yes Yes

<source>

Chrome Internet Explorer / Edge Firefox Safari Opera
<source> 4.0 9.0 3.5 4.0 10.5
media 38.0 9.0 15.0 9.1 25.0
sizes 38.0 13.0 3.8 9.1 25.0
src 4.0 9.0 3.5 4.0 10.5
srcset 38.0 13.0 38.0 9.1 25.0
type 4.0 9.0 3.5 4.0 10.5

<span>

Chrome Internet Explorer / Edge Firefox Safari Opera
<span> Yes Yes Yes Yes Yes

<strong>

Chrome Internet Explorer / Edge Firefox Safari Opera
<strong> Yes Yes Yes Yes Yes

<style>

Chrome Internet Explorer / Edge Firefox Safari Opera
<style> Yes Yes Yes Yes Yes
media Yes Yes Yes Yes Yes
type Yes Yes Yes Yes Yes

<sub>

Chrome Internet Explorer / Edge Firefox Safari Opera
<sub> Yes Yes Yes Yes Yes

<summary>

Chrome Internet Explorer / Edge Firefox Safari Opera
<summary> 12.0 79.0 49.0 6.0 15.0

<sup>

Chrome Internet Explorer / Edge Firefox Safari Opera
<sup> Yes Yes Yes Yes Yes

<svg>

Chrome Internet Explorer / Edge Firefox Safari Opera
<svg> 4.0 9.0 3.0 3.2 10.1

<table>

Chrome Internet Explorer / Edge Firefox Safari Opera
<table> Yes Yes Yes Yes Yes

<tbody>

Chrome Internet Explorer / Edge Firefox Safari Opera
<tbody> Yes Yes Yes Yes Yes

<td>

Chrome Internet Explorer / Edge Firefox Safari Opera
<td> Yes Yes Yes Yes Yes
colspan Yes Yes Yes Yes Yes
headers Yes Yes Yes Yes Yes
rowspan Yes Yes Yes Yes Yes

<template>

Chrome Internet Explorer / Edge Firefox Safari Opera
<template> 26.0 13.0 22.0 8.0 15.0

<textarea>

Chrome Internet Explorer / Edge Firefox Safari Opera
<textarea> Yes Yes Yes Yes Yes
autocomplete No No 59.0 13.0 No
autofocus Yes 10.0 4.0 Yes Yes
cols Yes Yes Yes Yes Yes
dirname Yes 79.0 No Yes Yes
disabled Yes Yes Yes Yes Yes
form Yes 11.0 Yes Yes Yes
maxlength Yes 10.0 4.0 Yes Yes
minlength Yes Yes Yes Yes Yes
name Yes Yes Yes Yes Yes
placeholder Yes 10.0 4.0 5.0 11.5
readonly Yes Yes Yes Yes Yes
required Yes 10.0 4.0 Yes Yes
rows Yes Yes Yes Yes Yes
spellcheck Yes 11.0 Yes Yes Yes
wrap Yes Yes Yes Yes Yes

<tfoot>

Chrome Internet Explorer / Edge Firefox Safari Opera
<tfoot> Yes Yes Yes Yes Yes

<th>

Chrome Internet Explorer / Edge Firefox Safari Opera
<th> Yes Yes Yes Yes Yes
abbr Yes Yes Yes Yes Yes
colspan Yes Yes Yes Yes Yes
headers Yes Yes Yes Yes Yes
rowspan Yes Yes Yes Yes Yes
scope Yes Yes Yes Yes Yes

<thead>

Chrome Internet Explorer / Edge Firefox Safari Opera
<thead> Yes Yes Yes Yes Yes

<time>

Chrome Internet Explorer / Edge Firefox Safari Opera
<time> 62.0 18.0 22.0 7.0 49.0
datetime 62.0 18.0 22.0 7.0 49.0

<title>

Chrome Internet Explorer / Edge Firefox Safari Opera
<title> Yes Yes Yes Yes Yes

<tr>

Chrome Internet Explorer / Edge Firefox Safari Opera
<tr> Yes Yes Yes Yes Yes

<track>

Chrome Internet Explorer / Edge Firefox Safari Opera
<track> 23.0 10.0 31.0 6.0 12.1
default 23.0 10.0 31.0 6.0 12.1
kind 23.0 10.0 31.0 6.0 12.1
label 23.0 10.0 31.0 6.0 12.1
src 23.0 10.0 31.0 6.0 12.1
srclang 23.0 10.0 31.0 6.0 12.1

<u>

Chrome Internet Explorer / Edge Firefox Safari Opera
<u> Yes Yes Yes Yes Yes

<ul>

Chrome Internet Explorer / Edge Firefox Safari Opera
<ul> Yes Yes Yes Yes Yes

<var>

Chrome Internet Explorer / Edge Firefox Safari Opera
<var> Yes Yes Yes Yes Yes

<video>

Chrome Internet Explorer / Edge Firefox Safari Opera
<video> 4.0 9.0 3.5 3.1 11.5
autoplay 4.0 9.0 3.5 3.1 11.5
controls 4.0 9.0 3.5 3.1 11.5
height 4.0 9.0 3.5 3.1 11.5
loop 4.0 9.0 11.0 3.1 11.5
muted 30.0 10.0 11.0 5.0 Yes
poster 4.0 9.0 3.6 3.1 10.5
preload 4.0 9.0 4.0 3.1 10.5
src 4.0 9.0 3.5 3.1 11.5
width 4.0 9.0 3.5 3.1 11.5

<wbr>

Chrome Internet Explorer / Edge Firefox Safari Opera
<wbr> Yes Yes Yes Yes Yes