Skip to content

Instantly share code, notes, and snippets.

@audinue
Created January 5, 2025 12:07
Show Gist options
  • Save audinue/7a5719b86ecfcfb51164c1b3ad41fea3 to your computer and use it in GitHub Desktop.
Save audinue/7a5719b86ecfcfb51164c1b3ad41fea3 to your computer and use it in GitHub Desktop.
Attribute Element(s) Description Value
abbr th Alternative label to use for the header cell when referencing the cell in other contexts Text *
accept input Hint for expected file type in file upload controls Set of comma-separated tokens * consisting of valid MIME type strings with no parameters or audio/* , video/* , or image/*
accept-charset form Character encodings to use for form submission ASCII case-insensitive match for " UTF-8 "
accesskey HTML elements Keyboard shortcut to activate or focus element Ordered set of unique space-separated tokens , none of which are identical to another, each consisting of one code point in length
action form URL to use for form submission Valid non-empty URL potentially surrounded by spaces
allow iframe Permissions policy to be applied to the iframe 's contents Serialized permissions policy
allowfullscreen iframe Whether to allow the iframe 's contents to use requestFullscreen() Boolean attribute
alpha input Allow the color's alpha component to be set Boolean attribute
alt area ; img ; input Replacement text for use when images are not available Text *
as link Potential destination for a preload request (for rel =" preload " and rel =" modulepreload ") Potential destination , for rel =" preload "; script-like destination , for rel =" modulepreload "
async script Execute script when available, without blocking while fetching Boolean attribute
autocapitalize HTML elements Recommended autocapitalization behavior (for supported input methods) " on "; " off "; " none "; " sentences "; " words "; " characters "
autocomplete form Default setting for autofill feature for controls in the form " on "; " off "
autocomplete input ; select ; textarea Hint for form autofill feature Autofill field name and related tokens*
autocorrect HTML elements Recommended autocorrection behavior (for supported input methods) " on "; " off "
autofocus HTML elements Automatically focus the element when the page is loaded Boolean attribute
autoplay audio ; video Hint that the media resource can be started automatically when the page is loaded Boolean attribute
blocking link ; script ; style Whether the element is potentially render-blocking Unordered set of unique space-separated tokens *
charset meta Character encoding declaration " utf-8 "
checked input Whether the control is checked Boolean attribute
cite blockquote ; del ; ins ; q Link to the source of the quotation or more information about the edit Valid URL potentially surrounded by spaces
class HTML elements Classes to which the element belongs Set of space-separated tokens
color link Color to use when customizing a site's icon (for rel =" mask-icon ") CSS <color>
colorspace input The color space of the serialized color " limited-srgb "; " display-p3 "
cols textarea Maximum number of characters per line Valid non-negative integer greater than zero
colspan td ; th Number of columns that the cell is to span Valid non-negative integer greater than zero
content meta Value of the element Text *
contenteditable HTML elements Whether the element is editable " true "; " plaintext-only "; " false "
controls audio ; video Show user agent controls Boolean attribute
coords area Coordinates for the shape to be created in an image map Valid list of floating-point numbers *
crossorigin audio ; img ; link ; script ; video How the element handles crossorigin requests " anonymous "; " use-credentials "
data object Address of the resource Valid non-empty URL potentially surrounded by spaces
datetime del ; ins Date and (optionally) time of the change Valid date string with optional time
datetime time Machine-readable value Valid month string , valid date string , valid yearless date string , valid time string , valid local date and time string , valid time-zone offset string , valid global date and time string , valid week string , valid non-negative integer , or valid duration string
decoding img Decoding hint to use when processing this image for presentation " sync "; " async "; " auto "
default track Enable the track if no other text track is more suitable Boolean attribute
defer script Defer script execution Boolean attribute
dir HTML elements The text directionality of the element " ltr "; " rtl "; " auto "
dir bdo The text directionality of the element " ltr "; " rtl "
dirname input ; textarea Name of form control to use for sending the element's directionality in form submission Text *
disabled button ; input ; optgroup ; option ; select ; textarea ; form-associated custom elements Whether the form control is disabled Boolean attribute
disabled fieldset Whether the descendant form controls, except any inside legend , are disabled Boolean attribute
disabled link Whether the link is disabled Boolean attribute
download a ; area Whether to download the resource instead of navigating to it, and its filename if so Text
draggable HTML elements Whether the element is draggable " true "; " false "
enctype form Entry list encoding type to use for form submission " application/x-www-form-urlencoded "; " multipart/form-data "; " text/plain "
enterkeyhint HTML elements Hint for selecting an enter key action " enter "; " done "; " go "; " next "; " previous "; " search "; " send "
fetchpriority img ; link ; script Sets the priority for fetches initiated by the element " auto "; " high "; " low "
for label Associate the label with form control ID *
for output Specifies controls from which the output was calculated Unordered set of unique space-separated tokens consisting of IDs*
form button ; fieldset ; input ; object ; output ; select ; textarea ; form-associated custom elements Associates the element with a form element ID *
formaction button ; input URL to use for form submission Valid non-empty URL potentially surrounded by spaces
formenctype button ; input Entry list encoding type to use for form submission " application/x-www-form-urlencoded "; " multipart/form-data "; " text/plain "
formmethod button ; input Variant to use for form submission " GET "; " POST "; " dialog "
formnovalidate button ; input Bypass form control validation for form submission Boolean attribute
formtarget button ; input Navigable for form submission Valid navigable target name or keyword
headers td ; th The header cells for this cell Unordered set of unique space-separated tokens consisting of IDs*
height canvas ; embed ; iframe ; img ; input ; object ; source (in picture ); video Vertical dimension Valid non-negative integer
hidden HTML elements Whether the element is relevant " until-found "; " hidden "; the empty string
high meter Low limit of high range Valid floating-point number *
href a ; area Address of the hyperlink Valid URL potentially surrounded by spaces
href link Address of the hyperlink Valid non-empty URL potentially surrounded by spaces
href base Document base URL Valid URL potentially surrounded by spaces
hreflang a ; link Language of the linked resource Valid BCP 47 language tag
http-equiv meta Pragma directive " content-type "; " default-style "; " refresh "; " x-ua-compatible "; " content-security-policy "
id HTML elements The element's ID Text *
imagesizes link Image sizes for different page layouts (for rel =" preload ") Valid source size list
imagesrcset link Images to use in different situations, e.g., high-resolution displays, small monitors, etc. (for rel =" preload ") Comma-separated list of image candidate strings
inert HTML elements Whether the element is inert . Boolean attribute
inputmode HTML elements Hint for selecting an input modality " none "; " text "; " tel "; " email "; " url "; " numeric "; " decimal "; " search "
integrity link ; script Integrity metadata used in Subresource Integrity checks [SRI] Text
is HTML elements Creates a customized built-in element Valid custom element name of a defined customized built-in element
ismap img Whether the image is a server-side image map Boolean attribute
itemid HTML elements Global identifier for a microdata item Valid URL potentially surrounded by spaces
itemprop HTML elements Property names of a microdata item Unordered set of unique space-separated tokens consisting of valid absolute URLs , defined property names , or text*
itemref HTML elements Referenced elements Unordered set of unique space-separated tokens consisting of IDs*
itemscope HTML elements Introduces a microdata item Boolean attribute
itemtype HTML elements Item types of a microdata item Unordered set of unique space-separated tokens consisting of valid absolute URLs *
kind track The type of text track " subtitles "; " captions "; " descriptions "; " chapters "; " metadata "
label optgroup ; option ; track User-visible label Text
lang HTML elements Language of the element Valid BCP 47 language tag or the empty string
list input List of autocomplete options ID *
loading iframe ; img Used when determining loading deferral " lazy "; " eager "
loop audio ; video Whether to loop the media resource Boolean attribute
low meter High limit of low range Valid floating-point number *
max input Maximum value Varies*
max meter ; progress Upper bound of range Valid floating-point number *
maxlength input ; textarea Maximum length of value Valid non-negative integer
media link ; meta ; source ; style Applicable media Valid media query list
method form Variant to use for form submission " GET "; " POST "; " dialog "
min input Minimum value Varies*
min meter Lower bound of range Valid floating-point number *
minlength input ; textarea Minimum length of value Valid non-negative integer
multiple input ; select Whether to allow multiple values Boolean attribute
muted audio ; video Whether to mute the media resource by default Boolean attribute
name button ; fieldset ; input ; output ; select ; textarea ; form-associated custom elements Name of the element to use for form submission and in the form.elements API Text *
name details Name of group of mutually-exclusive details elements Text *
name form Name of form to use in the document.forms API Text *
name iframe ; object Name of content navigable Valid navigable target name or keyword
name map Name of image map to reference from the usemap attribute Text *
name meta Metadata name Text *
name slot Name of shadow tree slot Text
nomodule script Prevents execution in user agents that support module scripts Boolean attribute
nonce HTML elements Cryptographic nonce used in Content Security Policy checks [CSP] Text
novalidate form Bypass form control validation for form submission Boolean attribute
open details Whether the details are visible Boolean attribute
open dialog Whether the dialog box is showing Boolean attribute
optimum meter Optimum value in gauge Valid floating-point number *
pattern input Pattern to be matched by the form control's value Regular expression matching the JavaScript Pattern production
ping a ; area URLs to ping Set of space-separated tokens consisting of valid non-empty URLs
placeholder input ; textarea User-visible label to be placed within the form control Text *
playsinline video Encourage the user agent to display video content within the element's playback area Boolean attribute
popover HTML elements Makes the element a popover element " auto "; " manual ";
popovertarget button ; input Targets a popover element to toggle, show, or hide ID *
popovertargetaction button ; input Indicates whether a targeted popover element is to be toggled, shown, or hidden " toggle "; " show "; " hide "
poster video Poster frame to show prior to video playback Valid non-empty URL potentially surrounded by spaces
preload audio ; video Hints how much buffering the media resource will likely need " none "; " metadata "; " auto "
readonly input ; textarea Whether to allow the value to be edited by the user Boolean attribute
readonly form-associated custom elements Affects willValidate , plus any behavior added by the custom element author Boolean attribute
referrerpolicy a ; area ; iframe ; img ; link ; script Referrer policy for fetches initiated by the element Referrer policy
rel a ; area Relationship between the location in the document containing the hyperlink and the destination resource Unordered set of unique space-separated tokens *
rel link Relationship between the document containing the hyperlink and the destination resource Unordered set of unique space-separated tokens *
required input ; select ; textarea Whether the control is required for form submission Boolean attribute
reversed ol Number the list backwards Boolean attribute
rows textarea Number of lines to show Valid non-negative integer greater than zero
rowspan td ; th Number of rows that the cell is to span Valid non-negative integer
sandbox iframe Security rules for nested content Unordered set of unique space-separated tokens , ASCII case-insensitive , consisting of " allow-downloads " " allow-forms " " allow-modals " " allow-orientation-lock " " allow-pointer-lock " " allow-popups " " allow-popups-to-escape-sandbox " " allow-presentation " " allow-same-origin " " allow-scripts " " allow-top-navigation " " allow-top-navigation-by-user-activation " " allow-top-navigation-to-custom-protocols "
scope th Specifies which cells the header cell applies to " row "; " col "; " rowgroup "; " colgroup "
selected option Whether the option is selected by default Boolean attribute
shadowrootclonable template Sets clonable on a declarative shadow root Boolean attribute
shadowrootdelegatesfocus template Sets delegates focus on a declarative shadow root Boolean attribute
shadowrootmode template Enables streaming declarative shadow roots " open "; " closed "
shadowrootserializable template Sets serializable on a declarative shadow root Boolean attribute
shape area The kind of shape to be created in an image map " circle "; " default "; " poly "; " rect "
size input ; select Size of the control Valid non-negative integer greater than zero
sizes link Sizes of the icons (for rel =" icon ") Unordered set of unique space-separated tokens , ASCII case-insensitive , consisting of sizes*
sizes img ; source Image sizes for different page layouts Valid source size list
slot HTML elements The element's desired slot Text
span col ; colgroup Number of columns spanned by the element Valid non-negative integer greater than zero
spellcheck HTML elements Whether the element is to have its spelling and grammar checked " true "; " false "; the empty string
src audio ; embed ; iframe ; img ; input ; script ; source (in video or audio ); track ; video Address of the resource Valid non-empty URL potentially surrounded by spaces
srcdoc iframe A document to render in the iframe The source of an iframe srcdoc document *
srclang track Language of the text track Valid BCP 47 language tag
srcset img ; source Images to use in different situations, e.g., high-resolution displays, small monitors, etc. Comma-separated list of image candidate strings
start ol Starting value of the list Valid integer
step input Granularity to be matched by the form control's value Valid floating-point number greater than zero, or " any "
style HTML elements Presentational and formatting instructions CSS declarations*
tabindex HTML elements Whether the element is focusable and sequentially focusable , and the relative order of the element for the purposes of sequential focus navigation Valid integer
target a ; area Navigable for hyperlink navigation Valid navigable target name or keyword
target base Default navigable for hyperlink navigation and form submission Valid navigable target name or keyword
target form Navigable for form submission Valid navigable target name or keyword
title HTML elements Advisory information for the element Text
title abbr ; dfn Full term or expansion of abbreviation Text
title input Description of pattern (when used with pattern attribute) Text
title link Title of the link Text
title link ; style CSS style sheet set name Text
translate HTML elements Whether the element is to be translated when the page is localized " yes "; " no "
type a ; link Hint for the type of the referenced resource Valid MIME type string
type button Type of button " submit "; " reset "; " button "
type embed ; object ; source Type of embedded resource Valid MIME type string
type input Type of form control input type keyword
type ol Kind of list marker " 1 "; " a "; " A "; " i "; " I "
type script Type of script " module "; a valid MIME type string that is not a JavaScript MIME type essence match
usemap img Name of image map to use Valid hash-name reference *
value button ; option Value to be used for form submission Text
value data Machine-readable value Text *
value input Value of the form control Varies*
value li Ordinal value of the list item Valid integer
value meter ; progress Current value of the element Valid floating-point number
width canvas ; embed ; iframe ; img ; input ; object ; source (in picture ); video Horizontal dimension Valid non-negative integer
wrap textarea How the value of the form control is to be wrapped for form submission " soft "; " hard "
writingsuggestions HTML elements Whether the element can offer writing suggestions or not. " true "; " false "; the empty string
export interface Tag {
accesskey?: string | undefined
autocapitalize?: 'characters' | 'none' | 'off' | 'on' | 'sentences' | 'words' | undefined
autocorrect?: 'off' | 'on' | undefined
autofocus?: boolean | undefined
class?: string | undefined
contenteditable?: 'false' | 'plaintext-only' | 'true' | undefined
dir?: 'auto' | 'ltr' | 'rtl' | undefined
draggable?: 'false' | 'true' | undefined
enterkeyhint?: 'done' | 'enter' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined
hidden?: boolean | '' | 'hidden' | 'until-found' | undefined
id?: string | undefined
inert?: boolean | undefined
inputmode?: 'decimal' | 'email' | 'none' | 'numeric' | 'search' | 'tel' | 'text' | 'url' | undefined
is?: string | undefined
itemid?: string | undefined
itemprop?: string | undefined
itemref?: string | undefined
itemscope?: boolean | undefined
itemtype?: string | undefined
lang?: string | undefined
nonce?: string | undefined
popover?: 'auto' | 'manual' | undefined
slot?: string | undefined
spellcheck?: 'false' | 'true' | undefined
style?: string | undefined
tabindex?: number | string | undefined
title?: string | undefined
translate?: 'no' | 'yes' | undefined
writingsuggestions?: 'false' | 'true' | undefined
[name: string]: boolean | number | string | undefined
}
export interface A extends Tag {
download?: string | undefined
href?: string | undefined
hreflang?: string | undefined
ping?: string | undefined
referrerpolicy?: string | undefined
rel?: string | undefined
target?: string | undefined
type?: string | undefined
}
export interface Abbr extends Tag {
title?: string | undefined
}
export interface Area extends Tag {
alt?: string | undefined
coords?: number | string | undefined
download?: string | undefined
href?: string | undefined
ping?: string | undefined
referrerpolicy?: string | undefined
rel?: string | undefined
shape?: 'circle' | 'default' | 'poly' | 'rect' | undefined
target?: string | undefined
}
export interface Audio extends Tag {
autoplay?: boolean | undefined
controls?: boolean | undefined
crossorigin?: 'anonymous' | 'use-credentials' | undefined
loop?: boolean | undefined
muted?: boolean | undefined
preload?: 'auto' | 'metadata' | 'none' | undefined
src?: string | undefined
}
export interface Base extends Tag {
href?: string | undefined
target?: string | undefined
}
export interface Bdo extends Tag {
dir?: 'ltr' | 'rtl' | undefined
}
export interface Blockquote extends Tag {
cite?: string | undefined
}
export interface Button extends Tag {
disabled?: boolean | undefined
form?: string | undefined
formaction?: string | undefined
formenctype?: 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain' | undefined
formmethod?: 'dialog' | 'get' | 'post' | undefined
formnovalidate?: boolean | undefined
formtarget?: string | undefined
name?: string | undefined
popovertarget?: string | undefined
popovertargetaction?: 'hide' | 'show' | 'toggle' | undefined
type?: 'button' | 'reset' | 'submit' | undefined
value?: string | undefined
}
export interface Canvas extends Tag {
height?: number | string | undefined
width?: number | string | undefined
}
export interface Col extends Tag {
span?: number | string | undefined
}
export interface Colgroup extends Tag {
span?: number | string | undefined
}
export interface Data extends Tag {
value?: string | undefined
}
export interface Del extends Tag {
cite?: string | undefined
datetime?: string | undefined
}
export interface Details extends Tag {
name?: string | undefined
open?: boolean | undefined
}
export interface Dfn extends Tag {
title?: string | undefined
}
export interface Dialog extends Tag {
open?: boolean | undefined
}
export interface Embed extends Tag {
height?: number | string | undefined
src?: string | undefined
type?: string | undefined
width?: number | string | undefined
}
export interface Fieldset extends Tag {
disabled?: boolean | undefined
form?: string | undefined
name?: string | undefined
}
export interface Form extends Tag {
'accept-charset'?: string | undefined
action?: string | undefined
autocomplete?: 'off' | 'on' | undefined
enctype?: 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain' | undefined
method?: 'dialog' | 'get' | 'post' | undefined
name?: string | undefined
novalidate?: boolean | undefined
target?: string | undefined
}
export interface Iframe extends Tag {
allow?: string | undefined
allowfullscreen?: boolean | undefined
height?: number | string | undefined
loading?: 'eager' | 'lazy' | undefined
name?: string | undefined
referrerpolicy?: string | undefined
sandbox?: string | undefined
src?: string | undefined
srcdoc?: string | undefined
width?: number | string | undefined
}
export interface Img extends Tag {
alt?: string | undefined
crossorigin?: 'anonymous' | 'use-credentials' | undefined
decoding?: 'async' | 'auto' | 'sync' | undefined
fetchpriority?: 'auto' | 'high' | 'low' | undefined
height?: number | string | undefined
ismap?: boolean | undefined
loading?: 'eager' | 'lazy' | undefined
referrerpolicy?: string | undefined
sizes?: string | undefined
src?: string | undefined
srcset?: string | undefined
usemap?: string | undefined
width?: number | string | undefined
}
export interface Input extends Tag {
accept?: string | undefined
alpha?: boolean | undefined
alt?: string | undefined
autocomplete?: string | undefined
checked?: boolean | undefined
colorspace?: 'display-p3' | 'limited-srgb' | undefined
dirname?: string | undefined
disabled?: boolean | undefined
form?: string | undefined
formaction?: string | undefined
formenctype?: 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain' | undefined
formmethod?: 'dialog' | 'get' | 'post' | undefined
formnovalidate?: boolean | undefined
formtarget?: string | undefined
height?: number | string | undefined
list?: string | undefined
max?: string | undefined
maxlength?: number | string | undefined
min?: string | undefined
minlength?: number | string | undefined
multiple?: boolean | undefined
name?: string | undefined
pattern?: string | undefined
placeholder?: string | undefined
popovertarget?: string | undefined
popovertargetaction?: 'hide' | 'show' | 'toggle' | undefined
readonly?: boolean | undefined
required?: boolean | undefined
size?: number | string | undefined
src?: string | undefined
step?: number | string | undefined
title?: string | undefined
type?: 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | undefined
value?: string | undefined
width?: number | string | undefined
}
export interface Ins extends Tag {
cite?: string | undefined
datetime?: string | undefined
}
export interface Label extends Tag {
for?: string | undefined
}
export interface Li extends Tag {
value?: number | string | undefined
}
export interface Link extends Tag {
as?: string | undefined
blocking?: string | undefined
color?: string | undefined
crossorigin?: 'anonymous' | 'use-credentials' | undefined
disabled?: boolean | undefined
fetchpriority?: 'auto' | 'high' | 'low' | undefined
href?: string | undefined
hreflang?: string | undefined
imagesizes?: string | undefined
imagesrcset?: string | undefined
integrity?: string | undefined
media?: string | undefined
referrerpolicy?: string | undefined
rel?: string | undefined
sizes?: string | undefined
title?: string | undefined
type?: string | undefined
}
export interface Map extends Tag {
name?: string | undefined
}
export interface Meta extends Tag {
charset?: 'utf-8' | undefined
content?: string | undefined
'http-equiv'?: 'content-security-policy' | 'content-type' | 'default-style' | 'refresh' | 'x-ua-compatible' | undefined
media?: string | undefined
name?: string | undefined
}
export interface Meter extends Tag {
high?: number | string | undefined
low?: number | string | undefined
max?: number | string | undefined
min?: number | string | undefined
optimum?: number | string | undefined
value?: number | string | undefined
}
export interface Object extends Tag {
data?: string | undefined
form?: string | undefined
height?: number | string | undefined
name?: string | undefined
type?: string | undefined
width?: number | string | undefined
}
export interface Ol extends Tag {
reversed?: boolean | undefined
start?: number | string | undefined
type?: '1' | 'a' | 'a' | 'i' | 'i' | undefined
}
export interface Optgroup extends Tag {
disabled?: boolean | undefined
label?: string | undefined
}
export interface Option extends Tag {
disabled?: boolean | undefined
label?: string | undefined
selected?: boolean | undefined
value?: string | undefined
}
export interface Output extends Tag {
for?: string | undefined
form?: string | undefined
name?: string | undefined
}
export interface Progress extends Tag {
max?: number | string | undefined
value?: number | string | undefined
}
export interface Q extends Tag {
cite?: string | undefined
}
export interface Script extends Tag {
async?: boolean | undefined
blocking?: string | undefined
crossorigin?: 'anonymous' | 'use-credentials' | undefined
defer?: boolean | undefined
fetchpriority?: 'auto' | 'high' | 'low' | undefined
integrity?: string | undefined
nomodule?: boolean | undefined
referrerpolicy?: string | undefined
src?: string | undefined
type?: 'module' | undefined
}
export interface Select extends Tag {
autocomplete?: string | undefined
disabled?: boolean | undefined
form?: string | undefined
multiple?: boolean | undefined
name?: string | undefined
required?: boolean | undefined
size?: number | string | undefined
}
export interface Slot extends Tag {
name?: string | undefined
}
export interface Source extends Tag {
height?: number | string | undefined
media?: string | undefined
sizes?: string | undefined
src?: string | undefined
srcset?: string | undefined
type?: string | undefined
width?: number | string | undefined
}
export interface Style extends Tag {
blocking?: string | undefined
media?: string | undefined
title?: string | undefined
}
export interface Td extends Tag {
colspan?: number | string | undefined
headers?: string | undefined
rowspan?: number | string | undefined
}
export interface Template extends Tag {
shadowrootclonable?: boolean | undefined
shadowrootdelegatesfocus?: boolean | undefined
shadowrootmode?: 'closed' | 'open' | undefined
shadowrootserializable?: boolean | undefined
}
export interface Textarea extends Tag {
autocomplete?: string | undefined
cols?: number | string | undefined
dirname?: string | undefined
disabled?: boolean | undefined
form?: string | undefined
maxlength?: number | string | undefined
minlength?: number | string | undefined
name?: string | undefined
placeholder?: string | undefined
readonly?: boolean | undefined
required?: boolean | undefined
rows?: number | string | undefined
wrap?: 'hard' | 'soft' | undefined
}
export interface Th extends Tag {
abbr?: string | undefined
colspan?: number | string | undefined
headers?: string | undefined
rowspan?: number | string | undefined
scope?: 'col' | 'colgroup' | 'row' | 'rowgroup' | undefined
}
export interface Time extends Tag {
datetime?: number | string | undefined
}
export interface Track extends Tag {
default?: boolean | undefined
kind?: 'captions' | 'chapters' | 'descriptions' | 'metadata' | 'subtitles' | undefined
label?: string | undefined
src?: string | undefined
srclang?: string | undefined
}
export interface Video extends Tag {
autoplay?: boolean | undefined
controls?: boolean | undefined
crossorigin?: 'anonymous' | 'use-credentials' | undefined
height?: number | string | undefined
loop?: boolean | undefined
muted?: boolean | undefined
playsinline?: boolean | undefined
poster?: string | undefined
preload?: 'auto' | 'metadata' | 'none' | undefined
src?: string | undefined
width?: number | string | undefined
}
export interface Html5 {
a: A
abbr: Abbr
area: Area
audio: Audio
base: Base
bdo: Bdo
blockquote: Blockquote
button: Button
canvas: Canvas
col: Col
colgroup: Colgroup
data: Data
del: Del
details: Details
dfn: Dfn
dialog: Dialog
embed: Embed
fieldset: Fieldset
form: Form
iframe: Iframe
img: Img
input: Input
ins: Ins
label: Label
li: Li
link: Link
map: Map
meta: Meta
meter: Meter
object: Object
ol: Ol
optgroup: Optgroup
option: Option
output: Output
progress: Progress
q: Q
script: Script
select: Select
slot: Slot
source: Source
style: Style
td: Td
template: Template
textarea: Textarea
th: Th
time: Time
track: Track
video: Video
address: Tag
article: Tag
aside: Tag
b: Tag
bdi: Tag
body: Tag
br: Tag
caption: Tag
cite: Tag
code: Tag
datalist: Tag
dd: Tag
div: Tag
dl: Tag
dt: Tag
em: Tag
figcaption: Tag
figure: Tag
footer: Tag
h1: Tag
h2: Tag
h3: Tag
h4: Tag
h5: Tag
h6: Tag
head: Tag
header: Tag
hgroup: Tag
hr: Tag
html: Tag
i: Tag
kbd: Tag
legend: Tag
main: Tag
mark: Tag
math: Tag
menu: Tag
nav: Tag
noscript: Tag
p: Tag
picture: Tag
pre: Tag
rp: Tag
rt: Tag
ruby: Tag
s: Tag
samp: Tag
search: Tag
section: Tag
small: Tag
span: Tag
strong: Tag
sub: Tag
summary: Tag
sup: Tag
svg: Tag
table: Tag
tbody: Tag
tfoot: Tag
thead: Tag
title: Tag
tr: Tag
u: Tag
ul: Tag
var: Tag
wbr: Tag
[name: string]: Tag
}
hidden
text
search
tel
url
email
password
date
month
week
time
datetime-local
number
range
color
checkbox
radio
file
submit
image
reset
button
a
abbr
address
area
article
aside
audio
b
base
bdi
bdo
blockquote
body
br
button
canvas
caption
cite
code
col
colgroup
data
datalist
dd
del
details
dfn
dialog
div
dl
dt
em
embed
fieldset
figcaption
figure
footer
form
h1 , h2 , h3 , h4 , h5 , h6
head
header
hgroup
hr
html
i
iframe
img
input
ins
kbd
label
legend
li
link
main
map
mark
MathML math
menu
meta
meter
nav
noscript
object
ol
optgroup
option
output
p
picture
pre
progress
q
rp
rt
ruby
s
samp
script
search
section
select
slot
small
source
span
strong
style
sub
summary
sup
SVG svg
table
tbody
td
template
textarea
tfoot
th
thead
time
title
tr
track
u
ul
var
video
wbr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment