attr
global
tags
prop
aria-activedescendant
true
all
 
aria-atomic
true
all
 
aria-autocomplete
true
all
 
aria-busy
true
all
 
aria-checked
true
all
 
aria-colcount
true
all
 
aria-colindex
true
all
 
aria-colspan
true
all
 
aria-controls
true
all
 
aria-current
true
all
 
aria-describedat
true
all
 
aria-describedby
true
all
 
aria-disabled
true
all
 
aria-dropeffect
true
all
 
aria-errormessage
true
all
 
aria-expanded
true
all
 
aria-flowto
true
all
 
aria-grabbed
true
all
 
aria-haspopup
true
all
 
aria-hidden
true
all
 
aria-invalid
true
all
 
aria-kbdshortcuts
true
all
 
aria-label
true
all
 
aria-labelledby
true
all
 
aria-level
true
all
 
aria-live
true
all
 
aria-modal
true
all
 
aria-multiline
true
all
 
aria-multiselectable
true
all
 
aria-orientation
true
all
 
aria-owns
true
all
 
aria-placeholder
true
all
 
aria-posinset
true
all
 
aria-pressed
true
all
 
aria-readonly
true
all
 
aria-relevant
true
all
 
aria-required
true
all
 
aria-roledescription
true
all
 
aria-rowcount
true
all
 
aria-rowindex
true
all
 
aria-rowspan
true
all
 
aria-selected
true
all
 
aria-setsize
true
all
 
aria-sort
true
all
 
aria-valuemax
true
all
 
aria-valuemin
true
all
 
aria-valuenow
true
all
 
aria-valuetext
true
all
 
accesskey
true
all
accessKey
class
true
all
className
contenteditable
true
all
contentEditable
contextmenu
true
all
 
dir
true
all
dir
draggable
true
all
draggable
dropzone
true
all
 
hidden
true
all
hidden
id
true
all
id
itemid
true
all
 
itemprop
true
all
 
itemref
true
all
 
itemscope
true
all
 
itemtype
true
all
 
lang
true
all
lang
role
true
all
 
spellcheck
true
all
spellcheck
style
true
all
style
tabindex
true
all
tabIndex
title
true
all
title
translate
true
all
translate
manifest
false
html
 
href
false
base,link,a,area
href
target
false
base,a,area,form
target
crossorigin
false
link,img,video,audio,script
crossOrigin
rel
false
link,a,area
rel
media
false
link,style
media
hreflang
false
link,a,area
 
type
false
link,style,ol,a,embed,object,source,area,input,button,script
type
sizes
false
link
sizes
name
false
meta,iframe,object,param,map,form,input,button,select,textarea,output,fieldset
name
http-equiv
false
meta
httpEquiv
content
false
meta
content
charset
false
meta,script
charset
nonce
false
style,script
nonce
scoped
false
style
 
onafterprint
false
body
onafterprint
onbeforeprint
false
body
onbeforeprint
onbeforeunload
false
body
onbeforeunload
onhashchange
false
body
onhashchange
onlanguagechange
false
body
onlanguagechange
onmessage
false
body
onmessage
onoffline
false
body
onoffline
ononline
false
body
ononline
onpagehide
false
body
onpagehide
onpageshow
false
body
onpageshow
onpopstate
false
body
onpopstate
onstorage
false
body
onstorage
onunload
false
body
onunload
cite
false
blockquote,q,del
cite
reversed
false
ol
reversed
start
false
ol
start
value
false
li,param,input,button,option,progress,meter
value
download
false
a,area
download
ping
false
a,area
ping
datetime
false
time,del
dateTime
alt
false
img,area,input
alt
src
false
img,iframe,embed,video,audio,source,track,input,script
src
srcset
false
img
srcset
usemap
false
img,object
useMap
ismap
false
img
isMap
width
false
img,iframe,embed,object,video,input,canvas
width
height
false
img,iframe,embed,object,video,input,canvas
height
srcdoc
false
iframe
srcdoc
sandbox
false
iframe
sandbox
seamless
false
iframe
 
allowfullscreen
false
iframe
allowFullscreen
data
false
object
data
typemustmatch
false
object
 
form
false
object,label,input,button,select,textarea,output,fieldset
form
poster
false
video
poster
preload
false
video,audio
preload
autoplay
false
video,audio
autoplay
mediagroup
false
video,audio
 
loop
false
video,audio
loop
muted
false
video,audio
muted
controls
false
video,audio
controls
default
false
track
default
kind
false
track
kind
label
false
track,optgroup,option
label
srclang
false
track
srclang
coords
false
area
coords
shape
false
area
shape
sortable
false
table
 
border
false
table
border
span
false
colgroup,col
span
colspan
false
td,th
colSpan
rowspan
false
td,th
rowSpan
headers
false
td,th
headers
scope
false
th
scope
sorted
false
th
 
abbr
false
th
abbr
accept-charset
false
form
acceptCharset
action
false
form
action
autocomplete
false
form,input,select,textarea
autocomplete
enctype
false
form
enctype
method
false
form
method
novalidate
false
form
noValidate
for
false
label,output
htmlFor
accept
false
input
accept
autofocus
false
input,button,select,textarea
autofocus
checked
false
input
checked
dirname
false
input,textarea
dirName
disabled
false
input,button,select,optgroup,option,textarea,fieldset
disabled
formaction
false
input,button
formAction
formenctype
false
input,button
formEnctype
formmethod
false
input,button
formMethod
formnovalidate
false
input,button
formNoValidate
formtarget
false
input,button
formTarget
inputmode
false
input,textarea
inputMode
list
false
input
list
max
false
input,progress,meter
max
maxlength
false
input,textarea
maxLength
min
false
input,meter
min
minlength
false
input,textarea
minLength
multiple
false
input,select
multiple
pattern
false
input
pattern
placeholder
false
input,textarea
placeholder
readonly
false
input,textarea
readOnly
required
false
input,select,textarea
required
size
false
input,select
size
step
false
input
step
selected
false
option
selected
cols
false
textarea
cols
rows
false
textarea
rows
wrap
false
textarea
wrap
low
false
meter
low
high
false
meter
high
optimum
false
meter
optimum
open
false
details
open
async
false
script
async
defer
false
script
defer

所有 HTML attribute - prop 对照表的更多相关文章

  1. jQuery学习笔记(四):attr()与prop()的区别

    这一节针对attr()与prop()之间的区别进行学习. 先看看官方文档是如何解释两者之间功能差异的: attr() Get the value of an attribute for the fir ...

  2. jQuery学习笔记:attr()与prop()的区别

    先看看官方文档是如何解释两者之间功能差异的: attr() Get the value of an attribute for the first element in the set of matc ...

  3. (转)R空间数据处理与可视化

    前言 很多朋友说在R里没法使用高德地图,这里给出一个基于leaflet包的解决方法. library(leaflet) # 添加高德地图 m <- leaflet() %>% addTil ...

  4. 陌生的 metaclass(转)

    add by zhj:这是我见过的对metaclass解释最清楚的文章了,例子很好,真是一例胜千言 原文:http://wiki.jikexueyuan.com/project/explore-pyt ...

  5. DataTable扩展:转化实体ToList

    直接上代码: 根据属性进行映射:DataTable转化成实体List public static class DataTableExtension { public static List<T& ...

  6. jQuery的attr与prop,attribute和property区别

    jQuery1.6中新添加了一个prop方法,看起来和用起来都和attr方法一样,这两个方法有什么区别呢?这要从HTMl 的attribute与property区别说起,attr与prop正是这两个东 ...

  7. 2018年1月 attribute VS prop 动画渲染

    attribute和prop和UI存在单向/双向绑定关系,参考 https://m.aliyun.com/yunqi/articles/31499 渲染流程 重绘和重排 ? requestAnimat ...

  8. Bulestacks模拟器Bulestacks.prop文件里中英文对照表

    打开“Bulestacks.prop”文件后可以看到以下内容,根据中英文对照表来修改即可. # begin build properties (开始设置系统性能)# autogenerated by ...

  9. jQuery中使用attribute,prop获取,设置input的checked值【转】

    1.prop方法获取.设置checked属性 当input控件checkbox设置了checked属性时,无论checked=”“或 checked=”checked”,$(obj).prop(“ch ...

  10. jQuery中使用attribute,prop获取,设置input的checked值

    1.prop方法获取.设置checked属性 当input控件checkbox设置了checked属性时,无论checked=”“或 checked=”checked”,$(obj).prop(“ch ...

随机推荐

  1. 在windows下安装Composer(转载)

    在windows下安装Composer Composer是 PHP 用来管理依赖(dependency)关系的工具.你可以在自己的项目中声明所依赖的外部工具库(libraries),Composer ...

  2. USB3.0与USB2.0编码方式的区别

    首先,USB3.0传输的编码方式和USB2.0本质上是不同的. 1.USB3.0的编码方式 USB 3.0采用的是8b/10b编码方式,由于高速传输,信号干扰的问题,USB 3.0采用 8/10bit ...

  3. 墨天轮国产数据库沙龙 | 许力:阿里云原生Lindorm TSDB数据库,驱动工业IT&OT超融合数字化系统升级

    分享嘉宾:许力 阿里云Lindorm 数据库产品经理 整理:墨天轮 导读 大家好,我是阿里云Lindorm 数据库产品经理许力,今天非常有荣幸给大家介绍阿里云 Lindorm 数据库面向工业场景的最佳 ...

  4. 3. 用过Konva吗,用过他的api吗

    基础:使用konva,首先需要创建舞台也就是stage,然后创建一个Layer图层,将图层放到舞台上,将图形等内容放到图层上 ; 第一步:创建一个Stage舞台  , 就是创建一个 stage 实例 ...

  5. dan

    点击查看代码 /* GGrun */ #include<bits/stdc++.h> using namespace std; namespace Octane { //non terra ...

  6. 蜘点云原生之 KubeSphere 落地实践过程

    作者:池晓东,蜘点商业网络服务有限公司技术总监,从事软件开发设计 10 多年,喜欢研究各类新技术,分享技术. 来源:本文由 11 月 25 日广州站 meetup 中讲师池晓东整理,整理于该活动中池老 ...

  7. KubeSphere 社区双周报 | Fluent Operator 2.6.0 发布 | 2023.11.10-11.23

    KubeSphere 社区双周报主要整理展示新增的贡献者名单和证书.新增的讲师证书以及两周内提交过 commit 的贡献者,并对近期重要的 PR 进行解析,同时还包含了线上/线下活动和布道推广等一系列 ...

  8. 《刚刚问世》系列初窥篇-Java+Playwright自动化测试-3-启动浏览器(详细教程)

    1.简介 通过前边两篇文章跟随宏哥学习想必到这里已经将环境搭建好了,今天就在Java项目搭建环境中简单地实践一下: 启动两大浏览器.按市场份额来说,全球前三大浏览器是:IE.Firefox.Chrom ...

  9. Vue 中 v-html 无法被 style scoped 渲染的问题

    假设有这么一个 vue 组件: <template> <div v-html="docPreview"/> </template> <st ...

  10. C++刷题小知识点

    数据结构定义 struct ListNode { int val; ListNode *next; ListNode() : val(0), next(nullptr) {} ListNode(int ...