a
a:
| "name"
| "type"
| "rel"
| "target"
| "rev"
| "download"
| "href"
| "hreflang"
| "ping"
| "referrerpolicy"
| "charset"
| "coords"
| "shape"
acronym
acronym: undefined
address
address: undefined
applet
applet:
| "object"
| "code"
| "name"
| "height"
| "width"
| "align"
| "archive"
| "codebase"
| "hspace"
| "vspace"
| "alt"
area
area:
| "type"
| "rel"
| "target"
| "download"
| "href"
| "hreflang"
| "ping"
| "referrerpolicy"
| "alt"
| "coords"
| "shape"
| "nohref"
article
article: undefined
audio
audio:
| "src"
| "crossorigin"
| "autoplay"
| "controls"
| "loop"
| "muted"
| "preload"
base
base: "target" | "href"
basefont
basefont: "size" | "color" | "face"
bgsound
bgsound: undefined
blockquote
blockquote: "cite"
body
body: "link" | "background" | "text" | "alink" | "bgcolor" | "vlink"
button:
| "name"
| "type"
| "value"
| "form"
| "disabled"
| "formaction"
| "formenctype"
| "formmethod"
| "formnovalidate"
| "formtarget"
| "popovertarget"
| "popovertargetaction"
canvas
canvas: "height" | "width"
col
col: "width" | "span" | "align" | "char" | "charoff" | "valign"
colgroup
colgroup: "width" | "span" | "align" | "char" | "charoff" | "valign"
command
command: undefined
content
content: undefined
datalist
datalist: undefined
del
del: "cite" | "datetime"
details
details: "name" | "open"
element
element: undefined
embed
embed: "type" | "src" | "height" | "width"
fieldset
fieldset: "name" | "form" | "disabled"
figcaption
figcaption: undefined
font
font: "size" | "color" | "face"
form:
| "name"
| "action"
| "autocomplete"
| "enctype"
| "method"
| "target"
| "accept"
| "accept-charset"
| "novalidate"
frame
frame:
| "name"
| "src"
| "frameborder"
| "longdesc"
| "marginheight"
| "marginwidth"
| "scrolling"
| "noresize"
frameset
frameset: "cols" | "rows"
hr
hr: "size" | "width" | "align" | "noshade"
html
html: "manifest" | "version"
iframe
iframe:
| "name"
| "src"
| "height"
| "width"
| "loading"
| "referrerpolicy"
| "align"
| "allow"
| "allowfullscreen"
| "allowpaymentrequest"
| "allowusermedia"
| "frameborder"
| "longdesc"
| "marginheight"
| "marginwidth"
| "sandbox"
| "scrolling"
| "srcdoc"
img
img:
| "name"
| "src"
| "height"
| "width"
| "border"
| "loading"
| "referrerpolicy"
| "crossorigin"
| "align"
| "hspace"
| "usemap"
| "vspace"
| "fetchpriority"
| "sizes"
| "alt"
| "ismap"
| "srcset"
| "longdesc"
| "decoding"
input:
| "name"
| "max"
| "required"
| "type"
| "src"
| "min"
| "size"
| "height"
| "width"
| "value"
| "form"
| "pattern"
| "autocomplete"
| "disabled"
| "multiple"
| "readonly"
| "align"
| "usemap"
| "accept"
| "alt"
| "checked"
| "dirname"
| "formaction"
| "formenctype"
| "formmethod"
| "formnovalidate"
| "formtarget"
| "ismap"
| "list"
| "maxlength"
| "minlength"
| "placeholder"
| "popovertarget"
| "popovertargetaction"
| "step"
ins
ins: "cite" | "datetime"
label
label: "form" | "for"
link
link:
| "type"
| "media"
| "color"
| "rel"
| "target"
| "disabled"
| "rev"
| "href"
| "hreflang"
| "referrerpolicy"
| "crossorigin"
| "as"
| "blocking"
| "charset"
| "fetchpriority"
| "imagesizes"
| "imagesrcset"
| "integrity"
| "sizes"
listing
listing: undefined
marquee
marquee: undefined
meta: "name" | "media" | "content" | "charset" | "http-equiv" | "scheme"
meter
meter: "max" | "min" | "high" | "low" | "value" | "optimum"
multicol
multicol: undefined
noembed
noembed: undefined
noframes
noframes: undefined
noscript
noscript: undefined
object
object:
| "name"
| "type"
| "data"
| "height"
| "width"
| "border"
| "form"
| "align"
| "archive"
| "classid"
| "codebase"
| "codetype"
| "declare"
| "hspace"
| "standby"
| "typemustmatch"
| "usemap"
| "vspace"
ol
ol: "type" | "start" | "compact" | "reversed"
optgroup
optgroup: "label" | "disabled"
option
option: "value" | "label" | "disabled" | "selected"
output
output: "name" | "form" | "for"
param
param: "name" | "type" | "value" | "valuetype"
picture
picture: undefined
plaintext
plaintext: undefined
progress
progress: "max" | "value"
script
script:
| "type"
| "src"
| "async"
| "language"
| "referrerpolicy"
| "crossorigin"
| "blocking"
| "charset"
| "fetchpriority"
| "integrity"
| "defer"
| "nomodule"
section
section: undefined
select
select:
| "name"
| "required"
| "size"
| "form"
| "autocomplete"
| "disabled"
| "multiple"
source
source: "type" | "src" | "media" | "height" | "width" | "sizes" | "srcset"
style
style: "type" | "media" | "blocking"
summary
summary: undefined
table
table:
| "width"
| "border"
| "summary"
| "frame"
| "align"
| "bgcolor"
| "cellpadding"
| "cellspacing"
| "rules"
tbody
tbody: "align" | "char" | "charoff" | "valign"
td
td:
| "height"
| "width"
| "abbr"
| "align"
| "bgcolor"
| "char"
| "charoff"
| "valign"
| "axis"
| "colspan"
| "headers"
| "nowrap"
| "rowspan"
| "scope"
template
template: "shadowrootdelegatesfocus" | "shadowrootmode"
textarea
textarea:
| "name"
| "required"
| "form"
| "autocomplete"
| "disabled"
| "readonly"
| "dirname"
| "maxlength"
| "minlength"
| "placeholder"
| "cols"
| "rows"
| "wrap"
tfoot: "align" | "char" | "charoff" | "valign"
th
th:
| "height"
| "width"
| "abbr"
| "align"
| "bgcolor"
| "char"
| "charoff"
| "valign"
| "axis"
| "colspan"
| "headers"
| "nowrap"
| "rowspan"
| "scope"
thead
thead: "align" | "char" | "charoff" | "valign"
tr
tr: "align" | "bgcolor" | "char" | "charoff" | "valign"
track
track: "default" | "src" | "label" | "kind" | "srclang"
video
video:
| "src"
| "height"
| "width"
| "crossorigin"
| "autoplay"
| "controls"
| "loop"
| "muted"
| "preload"
| "playsinline"
| "poster"
The tag-specific attributes that are valid for each HTML tag.