菜单
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE
     ❯   

HTML 参考 - 浏览器支持


HTML 参考 浏览器支持

下表列出了所有 HTML 元素及其属性,以及浏览器支持情况

 
<a>
download 14.0 18.0 20.0 10.1 15.0
href
hreflang
media
ping
referrerpolicy 51.0 79.0 50.0 11.1 38.0
rel
target
type

 
<abbr>

 
<address>

 
<area>
alt
coords
download
href
hreflang
media
referrerpolicy 51.0 79.0 50.0 11.1 38.0
rel
shape
target
type

 
<article> 6.0 9.0 4.0 5.0 11.1

 
<aside> 6.0 9.0 4.0 5.0 11.1

 
<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
循环 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>

 
<base>
href
target

 
<bdi> 16.0 79.0 10.0 15.0

 
<bdo>
dir

 
<blockquote>
cite

 
<body>

 
<br>

 
<button>
autofocus 5.0 10.0 4.0 5.0 9.6
disabled
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
formtarget 9.0 10.0 4.0 5.1 10.6
name
type
value

 
<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>

 
<cite>

 
<code>

 
<col>
span

 
<colgroup>
span

 
<data> 62.0 13.0 22.0 49.0
value 62.0 13.0 22.0 49.0

 
<datalist> 20.0 10.0 4.0 12.1 9.5

 
<dd>

 
<del>
cite
datetime

 
<details> 12.0  79.0 49.0 6.0 15.0
open 12.0 79.0 49.0 6.0 15.0

 
<dfn>

 
<dialog> 37.0 79.0 53.0* 24.0
open 37.0 79.0 53.0* 24.0

* 默认不支持,但可以通过 about:config (将 dom.dialog_element.enabled 设置为 true) 来启用。


 
<div>

 
<dl>

 
<dt>

 
<em>

 
<embed>
height
src
type
width

 
<fieldset>
disabled 6.0
form
name 11.0

 
<figcaption> 8.0 9.0 4.0 5.1 11.0

 
<figure> 8.0 9.0 4.0 5.1 11.0

 
<footer> 5.0 9.0 4.0 5.0 11.1

 
<form>
accept-charset
action
autocomplete 4.0 5.2 15.0
enctype
method
name
novalidate 10.0 4.0 10.1 15.0
rel
target

 
<h1> - <h6>

 
<head>

 
<header> 5.0  9.0 4.0 5.0 11.1

 
<hr>

 
<html>
xmlns

 
<i>

 
<iframe>
allow 60.0 79.0 74.0 11.1 47.0
allowfullscreen 27.0 11.0 -ms- 18.0 7.0
allowpaymentrequest
height
name
referrerpolicy 51.0 79.0 50.0 11.1 38.0
sandbox 4.0 10.0 17.0 5.0 15.0
src
srcdoc 20.0 79.0 25.0 6.0 15.0
width

 
<img>
alt
crossorigin
height
ismap
loading 77.0 79.0 75.0 64.0
longdesc
referrerpolicy 51.0 79.0 50.0 11.1 38.0
sizes
src
srcset 34.0 ? 38.0 8.0 21.0
usemap
width

 
<input>
accept 26.0 10.0 37.0 11.1 15.0
alt
autocomplete 17.0 6.0 2.0 5.1 10.0
autofocus 5.0 11.0 4.0 5.0 9.6
checked
dirname 79.0
disabled
form 5.1 10.6
formaction 10.0 5.1 10.6
formenctype 10.0 5.1 10.6
formmethod 10.0 5.1 10.6
formnovalidate 10.0 10.1 10.6
formtarget 10.0 5.1 10.6
height 16.0
列表 20.0 10.0 4.0 9.6
max 5.0 10.0 16.0 5.1 10.6
maxlength 4.0 10.0 4.0 5.1 15.0
分钟 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
pattern 5.0 10.0 4.0 10.1 9.6
placeholder 10.0 10.0 4.0 5.0 11.0
readonly
required 5.0 10.0 4.0 10.1 9.6
大小
src
step 6.0 10.0 16.0 5.0 10.6
type
value
width 16.0

 
<ins>
cite
datetime

 
<kbd>

 
<label>
for
form

 
<legend>

 
<li>
value

 
<link>
crossorigin 25.0 79.0 18.0 ? 15.0
href
hreflang
media
referrerpolicy 51.0 79.0 50.0 11.1 38.0
rel
sizes
title
type

 
<main> 26.0 12.0 21.0 7.0 16.0

 
<map>
name

 
<mark> 6.0 9.0 4.0 5.0 11.1

 
<meta>
charset
content
http_equiv
name

 
<meter> 8.0 13.0 16.0 6.0 11.5
form
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
分钟 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> 5.0 9.0 4.0 5.0 11.1

 
<noscript>

 
<object>
data
form
height
name
type
usemap
width

 
<ol>
reversed 18.0 79.0 18.0 6.0 12.1
start
type

 
<optgroup>
disabled 8.0
标签

 
<option>
disabled 8.0
标签 8.0
selected
value

 
<output> 10.0 13.0 4.0 5.1 11.0
for 10.0 13.0 4.0 7.0 11.5
form
name 10.0 13.0 4.0 7.0 11.5

 
<p>

 
<param>
name
value

 
<picture> 38.0 13.0 38.0 9.1 25.0

 
<pre>

 
<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>
cite

 
<rp> 5.0 5.5 38.0 5.0 15.0

 
<rt> 5.0 5.5 38.0 5.0 15.0

 
<ruby> 5.0 5.5 38.0 5.0 15.0

 
<s>

 
<samp>

 
<script>
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
src
type

 
<section> 5.0 9.0 4.0 5.0 11.5

 
<select>
autofocus 10.0
disabled 9.0
form
multiple
name
required 10.0 4.0
大小

 
<slot> 53.0 79.0 63.0 10.0 40.0

 
<small>

 
<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>

 
<strong>

 
<style>
media
type

 
<sub>

 
<summary> 12.0 79.0 49.0 6.0 15.0

 
<sup>

 
<svg> 4.0 9.0 3.0 3.2 10.1

 
<table>

 
<tbody>

 
<td>
colspan
headers
rowspan

 
<template> 26.0 13.0 22.0 8.0 15.0

 
<textarea>
autocomplete 59.0 13.0
autofocus 10.0 4.0
cols
dirname 79.0
disabled
form 11.0
maxlength 10.0 4.0
minlength
name
placeholder 10.0 4.0 5.0 11.5
readonly
required 10.0 4.0
rows
拼写检查 11.0
wrap(换行)

 
<tfoot>

 
<th>
abbr
colspan
headers
rowspan
scope

 
<thead>

 
<time> 62.0 18.0 22.0 7.0 49.0
datetime 62.0 18.0 22.0 7.0 49.0

 
<title>

 
<tr>

 
<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
标签 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>

 
<ul>

 
<var>

 
<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
循环 4.0 9.0 11.0 3.1 11.5
muted 30.0 10.0 11.0 5.0
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>


×

联系销售

如果您想将 W3Schools 服务用于教育机构、团队或企业,请发送电子邮件给我们
sales@w3schools.com

报告错误

如果您想报告错误,或想提出建议,请发送电子邮件给我们
help@w3schools.com

W3Schools 经过优化,旨在方便学习和培训。示例可能经过简化,以提高阅读和学习体验。教程、参考资料和示例会不断审查,以避免错误,但我们无法保证所有内容的完全正确性。使用 W3Schools 即表示您已阅读并接受我们的使用条款Cookie 和隐私政策

版权所有 1999-2024 Refsnes Data。保留所有权利。W3Schools 由 W3.CSS 提供支持