mdn / mdn/content

HTML attribute reference list is incomplete

Open
#32,229 4 comments 0 reactions 0 assignees View on GitHub
Content:HTML needs decision
Dominant language
Markdown
Stars
11k
Forks
23.2k
Avg merge
2d 9h
Merged PRs (30d)
331

Description

### MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes

### What specific section or headline is this issue about?

Attribute list

### What information was incorrect, unhelpful, or incomplete?

List of attributes is incomplete

### What did you expect to see?

List of all attributes (except for aria, event, MathML and SVG attributes)

### Do you have any supporting links, references, or citations?

_No response_

### Do you have anything more you want to share?

List of all attributes found on MDN
new Set([
"download",
"href",
"hreflang",
"ping",
"referrerpolicy",
"rel",
"target",
"type",
"alt",
"coords",
"shape",
"autoplay",
"controls",
"controlslist",
"crossorigin",
"anonymous",
"use-credentials",
"disableremoteplayback",
"loop",
"muted",
"preload",
"src",
"dir",
"cite",
"alink",
"background",
"bgcolor",
"bottommargin",
"leftmargin",
"link",
"onafterprint",
"onbeforeprint",
"onbeforeunload",
"onblur",
"onerror",
"onfocus",
"onhashchange",
"onlanguagechange",
"onload",
"onmessage",
"onoffline",
"ononline",
"onpopstate",
"onredo",
"onresize",
"onstorage",
"onundo",
"onunload",
"rightmargin",
"text",
"topmargin",
"vlink",
"clear",
"autofocus",
"disabled",
"form",
"formaction",
"formenctype",
"formmethod",
"formnovalidate",
"formtarget",
"name",
"popovertarget",
"popovertargetaction",
"\"hide\"",
"\"show\"",
"\"toggle\"",
"value",
"height",
"moz-opaque",
"width",
"align",
"span",
"datetime",
"open",
"compact",
"color",
"face",
"size",
"accept",
"accept-charset",
"autocapitalize",
"autocomplete",
"noresize",
"scrolling",
"marginheight",
"marginwidth",
"frameborder",
"cols",
"rows",
"profile",
"noshade",
"manifest",
"version",
"xmlns",
"allow",
"allowfullscreen",
"allowpaymentrequest",
"credentialless",
"csp",
"loading",
"eager",
"lazy",
"no-referrer",
"no-referrer-when-downgrade",
"origin",
"origin-when-cross-origin",
"same-origin",
"strict-origin",
"strict-origin-when-cross-origin",
"unsafe-url",
"sandbox",
"allow-downloads",
"allow-downloads-without-user-activation",
"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-storage-access-by-user-activation",
"allow-top-navigation",
"allow-top-navigation-by-user-activation",
"allow-top-navigation-to-custom-protocols",
"srcdoc",
"decoding",
"sync",
"async",
"auto",
"elementtiming",
"fetchpriority",
"high",
"low",
"ismap",
"sizes",
"srcset",
"usemap",
"for",
"as",
"blocking",
"imagesizes",
"imagesrcset",
"integrity",
"media",
"title",
"behavior",
"direction",
"hspace",
"scrollamount",
"scrolldelay",
"truespeed",
"vspace",
"checked",
"command",
"default",
"icon",
"label",
"radiogroup",
"charset",
"content",
"http-equiv",
"min",
"max",
"optimum",
"archive",
"border",
"classid",
"codebase",
"codetype",
"data",
"declare",
"standby",
"reversed",
"start",
"selected",
"valuetype",
"wrap",
"defer",
"nomodule",
"nonce",
"importmap",
"module",
"speculationrules",
"multiple",
"required",
"colspan",
"headers",
"rowspan",
"shadowrootmode",
"closed",
"autocorrect",
"on",
"off",
"dirname",
"maxlength",
"minlength",
"placeholder",
"readonly",
"spellcheck",
"abbr",
"scope",
"kind",
"srclang",
"disablepictureinpicture",
"playsinline",
"poster",
"capture",
"pattern",
"step",
"accesskey",
"class",
"contenteditable",
"contextmenu",
"data-*",
"draggable",
"enterkeyhint",
"exportparts",
"hidden",
"id",
"inert",
"inputmode",
"is",
"itemid",
"itemprop",
"itemref",
"itemscope",
"itemtype",
"lang",
"part",
"popover",
"role",
"slot",
"style",
"tabindex",
"translate",
"virtualkeyboardpolicy",
"xml:base",
"xml:lang",
"webkitdirectory"
])

### MDN metadata

Page report details

* Folder: `en-us/web/html/attributes`
* MDN URL: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
* GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/html/attributes/index.md
* Last commit: https://github.com/mdn/content/commit/51b28065211f1522bceedbbf8d77c89debd53dc7
* Document last modified: 2024-02-08T01:20:32.000Z

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.