HTML 浏览器支持

本篇主要列出HTML 元素及其属性的几种主流浏览器支持情况。


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

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

 
<a>YesYesYesYesYes
download14.018.020.010.115.0
hrefYesYesYesYesYes
hreflangYesYesYesYesYes
mediaYesYesYesYesYes
pingYesNoYesNoYes
referrerpolicy51.079.050.011.138.0
relYesYesYesYesYes
targetYesYesYesYesYes
typeYesYesYesYesYes
 
<abbr>YesYesYesYesYes
 
<address>YesYesYesYesYes
 
<area>YesYesYesYesYes
altYesYesYesYesYes
coordsYesYesYesYesYes
downloadYesYesYesYesYes
hrefYesYesYesYesYes
hreflangYesYesYesYesYes
mediaYesYesYesYesYes
referrerpolicy51.079.050.011.138.0
relYesYesYesYesYes
shapeYesYesYesYesYes
targetYesYesYesYesYes
typeYesYesYesYesYes
 
<article>6.09.04.05.011.1
 
<aside>6.09.04.05.011.1
 
<audio>4.09.03.54.011.5
autoplay4.09.03.54.011.5
controls4.09.03.54.011.5
loop4.09.03.54.011.5
muted4.010.011.07.111.5
preload4.09.04.04.011.5
src4.09.03.54.011.5
 
<b>YesYesYesYesYes
 
<base>YesYesYesYesYes
hrefYesYesYesYesYes
targetYesYesYesYesYes
 
<bdi>16.079.010.0No15.0
 
<bdo>YesYesYesYesYes
dirYesYesYesYesYes
 
<blockquote>YesYesYesYesYes
citeYesYesYesYesYes
 
<body>YesYesYesYesYes
 
<br>YesYesYesYesYes
 
<button>YesYesYesYesYes
autofocus5.010.04.05.09.6
disabledYesYesYesYesYes
form10.016.04.05.19.5
formaction9.010.04.05.115.0
formenctype9.010.04.05.111.5
formmethod9.010.04.05.115.0
formnovalidate6.011.04.0YesYes
formtarget9.010.04.05.110.6
nameYesYesYesYesYes
typeYesYesYesYesYes
valueYesYesYesYesYes
 
<canvas>4.09.02.03.19.0
height4.09.02.03.19.0
width4.09.02.03.19.0
 
<caption>YesYesYesYesYes
 
<cite>YesYesYesYesYes
 
<code>YesYesYesYesYes
 
<col>YesYesYesYesYes
spanYesYesYesYesYes
 
<colgroup>YesYesYesYesYes
spanYesYesYesYesYes
 
<data>62.013.022.0No49.0
value62.013.022.0No49.0
 
<datalist>20.010.04.012.19.5
 
<dd>YesYesYesYesYes
 
<del>YesYesYesYesYes
citeYesYesYesYesYes
datetimeYesYesYesYesYes
 
<details>12.0 79.049.06.015.0
open12.079.049.06.015.0
 
<dfn>YesYesYesYesYes
 
<dialog>37.079.053.0No24.0
open37.079.053.0No24.0
  • Not supported by default, but can be enabled in about:config (set dom.dialog_element.enabled to true).
 
<div>YesYesYesYesYes
 
<dl>YesYesYesYesYes
 
<dt>YesYesYesYesYes
 
<em>YesYesYesYesYes
 
<embed>YesYesYesYesYes
heightYesYesYesYesYes
srcYesYesYesYesYes
typeYesYesYesYesYes
widthYesYesYesYesYes
 
<fieldset>YesYesYesYesYes
disabledYesYesYes6.0Yes
formYesYesYesYesYes
nameYes11.0YesYesYes
 
<figcaption>8.09.04.05.111.0
 
<figure>8.09.04.05.111.0
 
<footer>5.09.04.05.011.1
 
<form>YesYesYesYesYes
accept-charsetYesYesYesYesYes
actionYesYesYesYesYes
autocompleteYesYes4.05.215.0
enctypeYesYesYesYesYes
methodYesYesYesYesYes
nameYesYesYesYesYes
novalidateYes10.04.010.115.0
relYesYesYesYesYes
targetYesYesYesYesYes
 
<h1> - <h6>YesYesYesYesYes
 
<head>YesYesYesYesYes
 
<header>5.0 9.04.05.011.1
 
<hr>YesYesYesYesYes
 
<html>YesYesYesYesYes
xmlnsYesYesYesYesYes
 
<i>YesYesYesYesYes
 
<iframe>YesYesYesYesYes
allow60.079.074.011.147.0
allowfullscreen27.011.0 -ms-18.07.0Yes
allowpaymentrequestNoNoNoNoNo
heightYesYesYesYesYes
nameYesYesYesYesYes
referrerpolicy51.079.050.011.138.0
sandbox4.010.017.05.015.0
srcYesYesYesYesYes
srcdoc20.079.025.06.015.0
widthYesYesYesYesYes
 
<img>YesYesYesYesYes
altYesYesYesYesYes
crossoriginYesYesYesYesYes
heightYesYesYesYesYes
ismapYesYesYesYesYes
loading77.079.075.0No64.0
longdescYesYesYesYesYes
referrerpolicy51.079.050.011.138.0
sizesYesYesYesYesYes
srcYesYesYesYesYes
srcset34.0?38.08.021.0
usemapYesYesYesYesYes
widthYesYesYesYesYes
 
<input>YesYesYesYesYes
accept26.010.037.011.115.0
altYesYesYesYesYes
autocomplete17.06.02.05.110.0
autofocus5.011.04.05.09.6
checkedYesYesYesYesYes
dirnameYes79.0NoYesYes
disabledYesYesYesYesYes
formYesYesYes5.110.6
formactionYes10.0Yes5.110.6
formenctypeYes10.0Yes5.110.6
formmethodYes10.0Yes5.110.6
formnovalidateYes10.0Yes10.110.6
formtargetYes10.0Yes5.110.6
heightYesYes16.0YesYes
list20.010.04.0No9.6
max5.010.016.05.110.6
maxlength4.010.04.05.115.0
min5.010.016.05.110.6
minlength40.017.051.010.127.0
multiple6.010.03.65.011.0
nameYesYesYesYesYes
pattern5.010.04.010.19.6
placeholder10.010.04.05.011.0
readonlyYesYesYesYesYes
required5.010.04.010.19.6
sizeYesYesYesYesYes
srcYesYesYesYesYes
step6.010.016.05.010.6
typeYesYesYesYesYes
valueYesYesYesYesYes
widthYesYes16.0YesYes
 
<ins>YesYesYesYesYes
citeYesYesYesYesYes
datetimeYesYesYesYesYes
 
<kbd>YesYesYesYesYes
 
<label>YesYesYesYesYes
forYesYesYesYesYes
formYesYesYesYesYes
 
<legend>YesYesYesYesYes
 
<li>YesYesYesYesYes
valueYesYesYesYesYes
 
<link>YesYesYesYesYes
crossorigin25.079.018.0?15.0
hrefYesYesYesYesYes
hreflangYesYesYesYesYes
mediaYesYesYesYesYes
referrerpolicy51.079.050.011.138.0
relYesYesYesYesYes
sizesNoNoNoNoNo
titleYesYesYesYesYes
typeYesYesYesYesYes
 
<main>26.012.021.07.016.0
 
<map>YesYesYesYesYes
nameYesYesYesYesYes
 
<mark>6.09.04.05.011.1
 
<meta>YesYesYesYesYes
charsetYesYesYesYesYes
contentYesYesYesYesYes
http_equivYesYesYesYesYes
nameYesYesYesYesYes
 
<meter>8.013.016.06.011.5
formNoNoNoNoNo
high8.013.016.06.011.5
low8.013.016.06.011.5
max8.013.016.06.011.5
min8.013.016.06.011.5
optimum8.013.016.06.011.5
value8.013.016.06.011.5
 
<nav>5.09.04.05.011.1
 
<noscript>YesYesYesYesYes
 
<object>YesYesYesYesYes
dataYesYesYesYesYes
formNoNoNoNoNo
heightYesYesYesYesYes
nameYesYesYesYesYes
typeYesYesYesYesYes
usemapNoNoYesNoNo
widthYesYesYesYesYes
 
<ol>YesYesYesYesYes
reversed18.079.018.06.012.1
startYesYesYesYesYes
typeYesYesYesYesYes
 
<optgroup>YesYesYesYesYes
disabledYes8.0YesYesYes
labelYesYesYesYesYes
 
<option>YesYesYesYesYes
disabledYes8.0YesYesYes
labelYes8.0NoYesYes
selectedYesYesYesYesYes
valueYesYesYesYesYes
 
<output>10.013.04.05.111.0
for10.013.04.07.011.5
formNoNoNoNoNo
name10.013.04.07.011.5
 
<p>YesYesYesYesYes
 
<param>YesYesYesYesYes
nameYesYesYesYesYes
valueYesYesYesYesYes
 
<picture>38.013.038.09.125.0
 
<pre>YesYesYesYesYes
 
<progress>8.010.016.06.011.0
max8.010.016.06.011.0
value8.010.016.06.011.0
 
<q>YesYesYesYesYes
citeYesYesYesYesYes
 
<rp>5.05.538.05.015.0
 
<rt>5.05.538.05.015.0
 
<ruby>5.05.538.05.015.0
 
<s>YesYesYesYesYes
 
<samp>YesYesYesYesYes
 
<script>YesYesYesYesYes
async8.010.03.65.115.0
crossorigin30.018.013.013.012.1
defer8.010.03.55.015.0
integrity45.017.043.013.066.0
nomodule61.016.060.011.048.0
referrerpolicy70.079.065.0NoYes
srcYesYesYesYesYes
typeYesYesYesYesYes
 
<section>5.09.04.05.011.5
 
<select>YesYesYesYesYes
autofocusYes10.0NoYesYes
disabledYes9.0YesYesYes
formYesYesYesYesYes
multipleYesYesYesYesYes
nameYesYesYesYesYes
requiredYes10.04.0YesYes
sizeYesYesYesYesYes
 
<slot>53.079.063.010.040.0
 
<small>YesYesYesYesYes
 
<source>4.09.03.54.010.5
media38.09.015.09.125.0
sizes38.013.03.89.125.0
src4.09.03.54.010.5
srcset38.013.038.09.125.0
type4.09.03.54.010.5
 
<span>YesYesYesYesYes
 
<strong>YesYesYesYesYes
 
<style>YesYesYesYesYes
mediaYesYesYesYesYes
typeYesYesYesYesYes
 
<sub>YesYesYesYesYes
 
<summary>12.079.049.06.015.0
 
<sup>YesYesYesYesYes
 
<svg>4.09.03.03.210.1
 
<table>YesYesYesYesYes
 
<tbody>YesYesYesYesYes
 
<td>YesYesYesYesYes
colspanYesYesYesYesYes
headersYesYesYesYesYes
rowspanYesYesYesYesYes
 
<template>26.013.022.08.015.0
 
<textarea>YesYesYesYesYes
autocompleteNoNo59.013.0No
autofocusYes10.04.0YesYes
colsYesYesYesYesYes
dirnameYes79.0NoYesYes
disabledYesYesYesYesYes
formYes11.0YesYesYes
maxlengthYes10.04.0YesYes
minlengthYesYesYesYesYes
nameYesYesYesYesYes
placeholderYes10.04.05.011.5
readonlyYesYesYesYesYes
requiredYes10.04.0YesYes
rowsYesYesYesYesYes
spellcheckYes11.0YesYesYes
wrapYesYesYesYesYes
 
<tfoot>YesYesYesYesYes
 
<th>YesYesYesYesYes
abbrYesYesYesYesYes
colspanYesYesYesYesYes
headersYesYesYesYesYes
rowspanYesYesYesYesYes
scopeYesYesYesYesYes
 
<thead>YesYesYesYesYes
 
<time>62.018.022.07.049.0
datetime62.018.022.07.049.0
 
<title>YesYesYesYesYes
 
<tr>YesYesYesYesYes
 
<track>23.010.031.06.012.1
default23.010.031.06.012.1
kind23.010.031.06.012.1
label23.010.031.06.012.1
src23.010.031.06.012.1
srclang23.010.031.06.012.1
 
<u>YesYesYesYesYes
 
<ul>YesYesYesYesYes
 
<var>YesYesYesYesYes
 
<video>4.09.03.53.111.5
autoplay4.09.03.53.111.5
controls4.09.03.53.111.5
height4.09.03.53.111.5
loop4.09.011.03.111.5
muted30.010.011.05.0Yes
poster4.09.03.63.110.5
preload4.09.04.03.110.5
src4.09.03.53.111.5
width4.09.03.53.111.5
 
<wbr>YesYesYesYesYes