跳到主要内容

全局属性

CSS 相关

属性(Attribute)说明(Description)值(Value)
id--
class--
style--

Data

属性(Attribute)说明(Description)值(Value)
data-*--

ARIA

属性(Attribute)说明(Description)值(Value)
role--
aria-*--

其他

属性(Attribute)说明(Description)值(Value)
is--
slot--
title--
lang--
translate--
dir--
tabindex--
accesskey--
autocapitalize--
autocorrect--
autofocus--
contenteditable--
draggable--
enterkeyhint--
hidden--
inert--
inputmode--
itemid--
itemprop--
itemref--
itemscope--
itemtype--
nonce--
popover--
spellcheck--
writingsuggestions--

参考