You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web-data/html/htmlGlobalAttributes.json
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,15 @@
7
7
"name": "autocapitalize",
8
8
"description": "Controls whether and how text input is automatically capitalized as it is entered/edited by the user. It can have the following values:\n\n* `off` or `none`, no autocapitalization is applied (all letters default to lowercase)\n* `on` or `sentences`, the first letter of each sentence defaults to a capital letter; all other letters default to lowercase\n* `words`, the first letter of each word defaults to a capital letter; all other letters default to lowercase\n* `characters`, all letters should default to uppercase"
9
9
},
10
+
{
11
+
"name": "autocorrect",
12
+
"description": "Controls whether autocorrection of editable text is enabled for spelling and/or punctuation errors.",
13
+
"valueSet": "o"
14
+
},
15
+
{
16
+
"name": "autofocus",
17
+
"description": "Indicates that an element should be focused on page load, or when the [`<dialog>`](https://developer.mozilla.org/docs/Web/HTML/Element/dialog) that it is part of is displayed."
18
+
},
10
19
{
11
20
"name": "class",
12
21
"description": "A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the [class selectors](https://developer.mozilla.org/docs/Web/CSS/Class_selectors) or functions like the method [`Document.getElementsByClassName()`](https://developer.mozilla.org/docs/Web/API/Document/getElementsByClassName \"returns an array-like object of all child elements which have all of the given class names.\")."
@@ -33,6 +42,11 @@
33
42
"name": "dropzone",
34
43
"description": "An enumerated attribute indicating what types of content can be dropped on an element, using the [Drag and Drop API](https://developer.mozilla.org/docs/DragDrop/Drag_and_Drop). It can have the following values:\n\n* `copy`, which indicates that dropping will create a copy of the element that was dragged\n* `move`, which indicates that the element that was dragged will be moved to this new location.\n* `link`, will create a link to the dragged data."
35
44
},
45
+
{
46
+
"name": "enterkeyhint",
47
+
"description": "An enumerated attribute defining what action label (or icon) to present for the enter key on virtual keyboards.",
48
+
"valueSet": "enterkeyhint"
49
+
},
36
50
{
37
51
"name": "exportparts",
38
52
"description": "Used to transitively export shadow parts from a nested shadow tree into a containing light tree."
@@ -46,6 +60,10 @@
46
60
"name": "id",
47
61
"description": "Defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS)."
48
62
},
63
+
{
64
+
"name": "inert",
65
+
"description": "Indicates that the element and all of its flat tree descendants become _inert_. Modal `<dialog>`s generated with [`showModal()`](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/showModal) escape inertness, meaning that they don't inherit inertness from their ancestors, but can only be made inert by having the `inert` attribute explicitly set on themselves."
66
+
},
49
67
{
50
68
"name": "inputmode",
51
69
"description": "Provides a hint to browsers as to the type of virtual keyboard configuration to use when editing this element or its contents. Used primarily on [`<input>`](https://developer.mozilla.org/docs/Web/HTML/Element/input \"The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.\") elements, but is usable on any element while in `[contenteditable](https://developer.mozilla.org/docs/Web/HTML/Global_attributes#attr-contenteditable)` mode."
@@ -79,10 +97,19 @@
79
97
"name": "lang",
80
98
"description": "Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user. The attribute contains one “language tag” (made of hyphen-separated “language subtags”) in the format defined in [_Tags for Identifying Languages (BCP47)_](https://www.ietf.org/rfc/bcp/bcp47.txt). [**xml:lang**](#attr-xml:lang) has priority over it."
81
99
},
100
+
{
101
+
"name": "nonce",
102
+
"description": "Defines a cryptographic nonce (\"number used once\") which can be used by [Content Security Policy](https://developer.mozilla.org/docs/Web/HTTP/Guides/CSP) to determine whether or not a given fetch will be allowed to proceed for a given element."
103
+
},
82
104
{
83
105
"name": "part",
84
106
"description": "A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the [`::part`](https://developer.mozilla.org/docs/Web/CSS/::part \"The ::part CSS pseudo-element represents any element within a shadow tree that has a matching part attribute.\") pseudo-element."
85
107
},
108
+
{
109
+
"name": "popover",
110
+
"description": "Designates an element as a popover element.",
111
+
"valueSet": "popover"
112
+
},
86
113
{
87
114
"name": "role",
88
115
"valueSet": "roles"
@@ -112,5 +139,10 @@
112
139
"name": "translate",
113
140
"description": "An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](https://developer.mozilla.org/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated.",
114
141
"valueSet": "y"
142
+
},
143
+
{
144
+
"name": "virtualkeyboardpolicy",
145
+
"description": "When specified on an element that the element's content is editable (for example, it is an `<input>` or `<textarea>` element, or an element with the `contenteditable` attribute set), it controls the on-screen virtual keyboard behavior on devices such as tablets, mobile phones, or other devices where a hardware keyboard may not be available.",
Copy file name to clipboardExpand all lines: web-data/html/htmlTags.json
+41Lines changed: 41 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -543,6 +543,10 @@
543
543
"value": "Indicates how the browser should load the image."
544
544
}
545
545
},
546
+
{
547
+
"name": "fetchpriority",
548
+
"valueSet": "fetchpriority"
549
+
},
546
550
{
547
551
"name": "referrerpolicy",
548
552
"valueSet": "referrerpolicy"
@@ -1040,6 +1044,12 @@
1040
1044
{
1041
1045
"name": "placeholder"
1042
1046
},
1047
+
{
1048
+
"name": "popovertarget"
1049
+
},
1050
+
{
1051
+
"name": "popovertargetaction"
1052
+
},
1043
1053
{
1044
1054
"name": "readonly",
1045
1055
"valueSet": "v"
@@ -1105,6 +1115,12 @@
1105
1115
{
1106
1116
"name": "name"
1107
1117
},
1118
+
{
1119
+
"name": "popovertarget"
1120
+
},
1121
+
{
1122
+
"name": "popovertargetaction"
1123
+
},
1108
1124
{
1109
1125
"name": "type",
1110
1126
"valueSet": "bt"
@@ -1416,5 +1432,30 @@
1416
1432
"name": "menu",
1417
1433
"description": "The menu element represents an unordered list of interactive items.",
1418
1434
"attributes": []
1435
+
},
1436
+
{
1437
+
"name": "search",
1438
+
"description": "The search element represents the parts of the document or application with form controls or other content related to performing a search or filtering operation.",
1439
+
"attributes": []
1440
+
},
1441
+
{
1442
+
"name": "fencedframe",
1443
+
"description": "The fencedframe element represents a nested browsing context, embedding another HTML page into the current one.",
1444
+
"attributes": [
1445
+
{
1446
+
"name": "allow"
1447
+
},
1448
+
{
1449
+
"name": "height"
1450
+
},
1451
+
{
1452
+
"name": "width"
1453
+
}
1454
+
]
1455
+
},
1456
+
{
1457
+
"name": "selectedcontent",
1458
+
"description": "The selectedcontent element can be used to display the content of the currently selected option element inside of a closed select element.",
Copy file name to clipboardExpand all lines: web-data/html/mdnTagDescriptions.json
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -315,6 +315,14 @@
315
315
"name": "name",
316
316
"description": "The name of the button, which is submitted with the form data."
317
317
},
318
+
{
319
+
"name": "popovertarget",
320
+
"description": "Turns the button into a popover control button; takes the ID of the popover element to control as its value."
321
+
},
322
+
{
323
+
"name": "popovertargetaction",
324
+
"description": "Specifies the action to be performed on a popover element being controlled by the button."
325
+
},
318
326
{
319
327
"name": "type",
320
328
"description": "The type of the button. Possible values are:\n\n* `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.\n* `reset`: The button resets all the controls to their initial values.\n* `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur."
@@ -734,6 +742,10 @@
734
742
"name": "decoding",
735
743
"description": "`sync`\n\nDecode the image synchronously for atomic presentation with other content.\n\n`async`\n\nDecode the image asynchronously to reduce delay in presenting other content.\n\n`auto`\n\nDefault mode, which indicates no preference for the decoding mode. The browser decides what is best for the user."
736
744
},
745
+
{
746
+
"name": "fetchpriority",
747
+
"description": "Provides a hint of the relative priority to use when fetching the image."
748
+
},
737
749
{
738
750
"name": "height",
739
751
"description": "The intrinsic height of the image in pixels."
0 commit comments