@mpen/jsxhtml 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css-escape.d.ts +25 -0
- package/dist/dev.d.ts +1 -0
- package/dist/htmlspec/ButtonElement.d.ts +55 -0
- package/dist/htmlspec/GlobalAttributes.d.ts +75 -5
- package/dist/htmlspec/InputAttributes.d.ts +221 -0
- package/dist/htmlspec/IntrinsicElements.d.ts +663 -84
- package/dist/htmlspec/ScriptElement.d.ts +38 -0
- package/dist/htmlspec/StyleAttributes.d.ts +19 -0
- package/dist/index.cjs +3 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +2 -2
- package/dist/jsx-dev-runtime.cjs +3 -1
- package/dist/jsx-dev-runtime.mjs +2 -2
- package/dist/{jsx-runtime-CsQM2fQb.js → jsx-runtime-Dh9PxNQe.js} +645 -20
- package/dist/{jsx-runtime-DpEMYmD9.js → jsx-runtime-cimCxEOU.js} +648 -19
- package/dist/jsx-runtime.cjs +3 -1
- package/dist/jsx-runtime.mjs +1 -1
- package/dist/jsx-types.d.ts +6 -4
- package/dist/jsx.d.ts +3 -2
- package/dist/jsx.test.d.ts +1 -0
- package/dist/log.d.ts +2 -0
- package/dist/template-strings.d.ts +12 -0
- package/dist/template-strings.test.d.ts +6 -0
- package/package.json +11 -7
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { AnyAttributes, CommonProps } from '../jsx-types';
|
|
2
2
|
import type { AnchorElement } from './AnchorElement';
|
|
3
|
+
import type { ScriptElementAttributes } from './ScriptElement';
|
|
4
|
+
import type { ButtonAttributes } from './ButtonElement';
|
|
5
|
+
import type { StyleHTMLAttributes } from './StyleAttributes';
|
|
6
|
+
import { InputAttributes } from './InputAttributes';
|
|
3
7
|
export type IntrinsicElements = {
|
|
4
8
|
/**
|
|
5
9
|
* The <a> HTML element (or anchor element), with its href attribute, creates a hyperlink to web pages, files,
|
|
@@ -7,146 +11,721 @@ export type IntrinsicElements = {
|
|
|
7
11
|
*
|
|
8
12
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
|
|
9
13
|
*/
|
|
10
|
-
a: AnchorElement & CommonProps
|
|
14
|
+
a: AnchorElement & CommonProps<HTMLAnchorElement>;
|
|
15
|
+
/**
|
|
16
|
+
* The <abbr> HTML element represents an abbreviation or acronym.
|
|
17
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr
|
|
18
|
+
*/
|
|
11
19
|
abbr: AnyAttributes;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Use the `<abbr>` element instead.
|
|
22
|
+
*/
|
|
12
23
|
acronym: AnyAttributes;
|
|
24
|
+
/**
|
|
25
|
+
* The <address> HTML element indicates that the enclosed HTML provides contact information for a person or people,
|
|
26
|
+
* or for an organization. [9]
|
|
27
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address
|
|
28
|
+
*/
|
|
13
29
|
address: AnyAttributes;
|
|
14
|
-
|
|
30
|
+
/**
|
|
31
|
+
* The <area> HTML element defines an area inside an image map that has predefined clickable areas.
|
|
32
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area
|
|
33
|
+
*/
|
|
34
|
+
area: AnyAttributes<HTMLAreaElement>;
|
|
35
|
+
/**
|
|
36
|
+
* The <article> HTML element represents a self-contained composition in a document, page, application, or site,
|
|
37
|
+
* which is intended to be independently distributable or reusable (e.g., in syndication).
|
|
38
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article
|
|
39
|
+
*/
|
|
15
40
|
article: AnyAttributes;
|
|
41
|
+
/**
|
|
42
|
+
* The <aside> HTML element represents a portion of a document whose content is only indirectly related to the
|
|
43
|
+
* document's main content.
|
|
44
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside
|
|
45
|
+
*/
|
|
16
46
|
aside: AnyAttributes;
|
|
17
|
-
|
|
47
|
+
/**
|
|
48
|
+
* The <audio> HTML element is used to embed sound content in documents. It may contain one or more audio sources,
|
|
49
|
+
* represented using the src attribute or the <source> element: the browser will choose the most suitable one.
|
|
50
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
|
|
51
|
+
*/
|
|
52
|
+
audio: AnyAttributes<HTMLAudioElement>;
|
|
53
|
+
/**
|
|
54
|
+
* The <b> HTML element is used to draw the reader's attention to the element's contents, which are not otherwise
|
|
55
|
+
* granted any special importance.
|
|
56
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b
|
|
57
|
+
*/
|
|
18
58
|
b: AnyAttributes;
|
|
19
|
-
|
|
59
|
+
/**
|
|
60
|
+
* The <base> HTML element specifies the base URL to use for all relative URLs in a document. [3]
|
|
61
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
|
|
62
|
+
*/
|
|
63
|
+
base: AnyAttributes<HTMLBaseElement>;
|
|
64
|
+
/**
|
|
65
|
+
* The <bdi> HTML element tells the browser's bidirectional algorithm to treat the text it contains in isolation
|
|
66
|
+
* from its surroundings. [4]
|
|
67
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi
|
|
68
|
+
*/
|
|
20
69
|
bdi: AnyAttributes;
|
|
70
|
+
/**
|
|
71
|
+
* The <bdo> HTML element overrides the current directionality of text, so that the text within is rendered in a
|
|
72
|
+
* different direction. [18]
|
|
73
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo
|
|
74
|
+
*/
|
|
21
75
|
bdo: AnyAttributes;
|
|
76
|
+
/**
|
|
77
|
+
* @deprecated
|
|
78
|
+
*/
|
|
22
79
|
big: AnyAttributes;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
80
|
+
/**
|
|
81
|
+
* The <blockquote> HTML element indicates that the enclosed text is an extended quotation.
|
|
82
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote
|
|
83
|
+
*/
|
|
84
|
+
blockquote: AnyAttributes<HTMLQuoteElement>;
|
|
85
|
+
/**
|
|
86
|
+
* The <body> HTML element represents the content of an HTML document. There can be only one <body> element in a
|
|
87
|
+
* document.
|
|
88
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
|
|
89
|
+
*/
|
|
90
|
+
body: AnyAttributes<HTMLBodyElement>;
|
|
91
|
+
/**
|
|
92
|
+
* The <br> HTML element produces a line break in text (carriage-return). [8]
|
|
93
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br
|
|
94
|
+
*/
|
|
95
|
+
br: AnyAttributes<HTMLBRElement>;
|
|
96
|
+
/**
|
|
97
|
+
* The <button> HTML element is an interactive element activated by a user with a mouse, keyboard, finger, voice
|
|
98
|
+
* command, or other assistive technology. Once activated, it then performs an action, such as submitting a form or
|
|
99
|
+
* opening a dialog.
|
|
100
|
+
*
|
|
101
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/button
|
|
102
|
+
*/
|
|
103
|
+
button: ButtonAttributes & CommonProps<HTMLButtonElement>;
|
|
104
|
+
/**
|
|
105
|
+
* The <canvas> HTML element is used to draw graphics, on the fly, via JavaScript.
|
|
106
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas
|
|
107
|
+
*/
|
|
108
|
+
canvas: AnyAttributes<HTMLCanvasElement>;
|
|
109
|
+
/**
|
|
110
|
+
* The <caption> HTML element specifies the caption (or title) of a table.
|
|
111
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption
|
|
112
|
+
*/
|
|
113
|
+
caption: AnyAttributes<HTMLTableCaptionElement>;
|
|
114
|
+
/**
|
|
115
|
+
* @deprecated
|
|
116
|
+
*/
|
|
29
117
|
center: AnyAttributes;
|
|
118
|
+
/**
|
|
119
|
+
* The <cite> HTML element is used to describe a reference to a cited creative work, and must include the title of
|
|
120
|
+
* that work. [4]
|
|
121
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite
|
|
122
|
+
*/
|
|
30
123
|
cite: AnyAttributes;
|
|
124
|
+
/**
|
|
125
|
+
* The <code> HTML element displays its contents styled in a fashion intended to indicate that the text is a short
|
|
126
|
+
* fragment of computer code.
|
|
127
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code
|
|
128
|
+
*/
|
|
31
129
|
code: AnyAttributes;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
130
|
+
/**
|
|
131
|
+
* The <col> HTML element defines a column within a table and is used for defining common semantics on all common
|
|
132
|
+
* cells. It is generally found within a <colgroup> element.
|
|
133
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col
|
|
134
|
+
*/
|
|
135
|
+
col: AnyAttributes<HTMLTableColElement>;
|
|
136
|
+
/**
|
|
137
|
+
* The <colgroup> HTML element defines a group of columns within a table.
|
|
138
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup
|
|
139
|
+
*/
|
|
140
|
+
colgroup: AnyAttributes<HTMLTableColElement>;
|
|
141
|
+
/**
|
|
142
|
+
* The <data> HTML element links a given piece of content with a machine-readable translation.
|
|
143
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data
|
|
144
|
+
*/
|
|
145
|
+
data: AnyAttributes<HTMLDataElement>;
|
|
146
|
+
/**
|
|
147
|
+
* The <datalist> HTML element contains a set of <option> elements that represent the permissible or recommended
|
|
148
|
+
* options available to choose from within other controls.
|
|
149
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
|
|
150
|
+
*/
|
|
151
|
+
datalist: AnyAttributes<HTMLDataListElement>;
|
|
152
|
+
/**
|
|
153
|
+
* The <dd> HTML element provides the description, definition, or value for the preceding term (<dt>) in a
|
|
154
|
+
* description list (<dl>). [17]
|
|
155
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd
|
|
156
|
+
*/
|
|
37
157
|
dd: AnyAttributes;
|
|
38
|
-
|
|
39
|
-
|
|
158
|
+
/**
|
|
159
|
+
* The <del> HTML element represents a range of text that has been deleted from a document. [11]
|
|
160
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del
|
|
161
|
+
*/
|
|
162
|
+
del: AnyAttributes<HTMLModElement>;
|
|
163
|
+
/**
|
|
164
|
+
* The <details> HTML element creates a disclosure widget in which information is visible only when the widget is
|
|
165
|
+
* toggled into an "open" state.
|
|
166
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
|
|
167
|
+
*/
|
|
168
|
+
details: AnyAttributes<HTMLDetailsElement>;
|
|
169
|
+
/**
|
|
170
|
+
* The <dfn> HTML element is used to indicate the term being defined within the context of a definition phrase or
|
|
171
|
+
* sentence. [15]
|
|
172
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn
|
|
173
|
+
*/
|
|
40
174
|
dfn: AnyAttributes;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
175
|
+
/**
|
|
176
|
+
* The <dialog> HTML element represents a dialog box or other interactive component, such as a dismissible alert,
|
|
177
|
+
* inspector, or subwindow.
|
|
178
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
|
|
179
|
+
*/
|
|
180
|
+
dialog: AnyAttributes<HTMLDialogElement>;
|
|
181
|
+
/**
|
|
182
|
+
* The `<dir>` HTML element is used as a container for a directory of files and/or folders.
|
|
183
|
+
* @deprecated Use the `<ul>` element instead.
|
|
184
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dir
|
|
185
|
+
*/
|
|
186
|
+
dir: AnyAttributes<HTMLDirectoryElement>;
|
|
187
|
+
/**
|
|
188
|
+
* The <div> HTML element is the generic container for flow content. It has no effect on the content or layout
|
|
189
|
+
* until styled using CSS. [3]
|
|
190
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div
|
|
191
|
+
*/
|
|
192
|
+
div: AnyAttributes<HTMLDivElement>;
|
|
193
|
+
/**
|
|
194
|
+
* The <dl> HTML element represents a description list. The element encloses a list of groups of terms (specified
|
|
195
|
+
* using the <dt> element) and descriptions (provided by <dd> elements). [19]
|
|
196
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl
|
|
197
|
+
*/
|
|
198
|
+
dl: AnyAttributes<HTMLDListElement>;
|
|
199
|
+
/**
|
|
200
|
+
* The <dt> HTML element specifies a term in a description or definition list, and as such must be used inside a
|
|
201
|
+
* <dl> element. [12]
|
|
202
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt
|
|
203
|
+
*/
|
|
45
204
|
dt: AnyAttributes;
|
|
205
|
+
/**
|
|
206
|
+
* The <em> HTML element marks text that has stress emphasis. [15]
|
|
207
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em
|
|
208
|
+
*/
|
|
46
209
|
em: AnyAttributes;
|
|
47
|
-
|
|
48
|
-
|
|
210
|
+
/**
|
|
211
|
+
* The <embed> HTML element embeds external content at the specified point in the document. This content is
|
|
212
|
+
* provided by an external application or other source of interactive content such as a browser plug-in.
|
|
213
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed
|
|
214
|
+
*/
|
|
215
|
+
embed: AnyAttributes<HTMLEmbedElement>;
|
|
216
|
+
/**
|
|
217
|
+
* The <fieldset> HTML element is used to group several controls as well as labels (<label>) within a web form.
|
|
218
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset
|
|
219
|
+
*/
|
|
220
|
+
fieldset: AnyAttributes<HTMLFieldSetElement>;
|
|
221
|
+
/**
|
|
222
|
+
* The <figcaption> HTML element represents a caption or legend describing the rest of the contents of its parent
|
|
223
|
+
* <figure> element. [12]
|
|
224
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption
|
|
225
|
+
*/
|
|
49
226
|
figcaption: AnyAttributes;
|
|
227
|
+
/**
|
|
228
|
+
* The <figure> HTML element represents self-contained content, potentially with an optional caption, which is
|
|
229
|
+
* specified using the (<figcaption>) element. [7]
|
|
230
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure
|
|
231
|
+
*/
|
|
50
232
|
figure: AnyAttributes;
|
|
51
|
-
|
|
233
|
+
/**
|
|
234
|
+
* @deprecated
|
|
235
|
+
*/
|
|
236
|
+
font: AnyAttributes<HTMLFontElement>;
|
|
237
|
+
/**
|
|
238
|
+
* The <footer> HTML element represents a footer for its nearest sectioning content or sectioning root element. A
|
|
239
|
+
* <footer> typically contains information about the author of the section, copyright data or links to related
|
|
240
|
+
* documents.
|
|
241
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer
|
|
242
|
+
*/
|
|
52
243
|
footer: AnyAttributes;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
244
|
+
/**
|
|
245
|
+
* The <form> HTML element represents a document section containing interactive controls for submitting information.
|
|
246
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
|
|
247
|
+
*/
|
|
248
|
+
form: AnyAttributes<HTMLFormElement>;
|
|
249
|
+
/**
|
|
250
|
+
* The `<frame>` HTML element defines a particular area in which another HTML document can be displayed.
|
|
251
|
+
* A frame should be used within a `<frameset>`.
|
|
252
|
+
* @deprecated Use `<iframe>` instead.
|
|
253
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frame
|
|
254
|
+
*/
|
|
255
|
+
frame: AnyAttributes<HTMLFrameElement>;
|
|
256
|
+
/**
|
|
257
|
+
* The `<frameset>` HTML element is used to contain `<frame>` elements.
|
|
258
|
+
* @deprecated Use `<iframe>` instead.
|
|
259
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset
|
|
260
|
+
*/
|
|
261
|
+
frameset: AnyAttributes<HTMLFrameSetElement>;
|
|
262
|
+
/**
|
|
263
|
+
* The <h1> to <h6> HTML elements represent six levels of section headings. <h1> is the highest section level and
|
|
264
|
+
* <h6> is the lowest.
|
|
265
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements
|
|
266
|
+
*/
|
|
267
|
+
h1: AnyAttributes<HTMLHeadingElement>;
|
|
268
|
+
h2: AnyAttributes<HTMLHeadingElement>;
|
|
269
|
+
h3: AnyAttributes<HTMLHeadingElement>;
|
|
270
|
+
h4: AnyAttributes<HTMLHeadingElement>;
|
|
271
|
+
h5: AnyAttributes<HTMLHeadingElement>;
|
|
272
|
+
h6: AnyAttributes<HTMLHeadingElement>;
|
|
273
|
+
/**
|
|
274
|
+
* The <head> HTML element contains machine-readable information (metadata) about the document, like its title,
|
|
275
|
+
* scripts, and style sheets. [1]
|
|
276
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head
|
|
277
|
+
*/
|
|
278
|
+
head: AnyAttributes<HTMLHeadElement>;
|
|
279
|
+
/**
|
|
280
|
+
* The <header> HTML element represents introductory content, typically a group of introductory or navigational
|
|
281
|
+
* aids. It may contain some heading elements but also a logo, a search form, an author name, and other elements.
|
|
282
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header
|
|
283
|
+
*/
|
|
63
284
|
header: AnyAttributes;
|
|
285
|
+
/**
|
|
286
|
+
* The <hgroup> HTML element represents a multi-level heading for a section of a document. It groups a set of
|
|
287
|
+
* <h1>–<h6> elements.
|
|
288
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup
|
|
289
|
+
*/
|
|
64
290
|
hgroup: AnyAttributes;
|
|
65
|
-
|
|
66
|
-
|
|
291
|
+
/**
|
|
292
|
+
* The <hr> HTML element represents a thematic break between paragraph-level elements: for example, a change of
|
|
293
|
+
* scene in a story, or a shift of topic within a section. [10]
|
|
294
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr
|
|
295
|
+
*/
|
|
296
|
+
hr: AnyAttributes<HTMLHRElement>;
|
|
297
|
+
/**
|
|
298
|
+
* The <html> HTML element represents the root (top-level element) of an HTML document, so it is also referred to
|
|
299
|
+
* as the root element. [1]
|
|
300
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html
|
|
301
|
+
*/
|
|
302
|
+
html: AnyAttributes<HTMLHtmlElement>;
|
|
303
|
+
/**
|
|
304
|
+
* The <i> HTML element represents a range of text that is set off from the normal text for some reason, such as
|
|
305
|
+
* idiomatic text, technical terms, taxonomical designations, among others. [11]
|
|
306
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i
|
|
307
|
+
*/
|
|
67
308
|
i: AnyAttributes;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
309
|
+
/**
|
|
310
|
+
* The <iframe> HTML element represents a nested browsing context, embedding another HTML page into the current one.
|
|
311
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
|
|
312
|
+
*/
|
|
313
|
+
iframe: AnyAttributes<HTMLIFrameElement>;
|
|
314
|
+
/**
|
|
315
|
+
* The <img> HTML element embeds an image into the document.
|
|
316
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
|
|
317
|
+
*/
|
|
318
|
+
img: AnyAttributes<HTMLImageElement>;
|
|
71
319
|
/**
|
|
72
320
|
* The `<input>` HTML element is used to create interactive controls for web-based forms in order to accept data
|
|
73
321
|
* from the user; a wide variety of types of input data and control widgets are available, depending on the device
|
|
74
322
|
* and user agent. The `<input>` element is one of the most powerful and complex in all of HTML due to the sheer
|
|
75
323
|
* number of combinations of input types and attributes.
|
|
76
324
|
*/
|
|
77
|
-
input:
|
|
78
|
-
|
|
325
|
+
input: InputAttributes & CommonProps<HTMLInputElement>;
|
|
326
|
+
/**
|
|
327
|
+
* The <ins> HTML element represents a range of text that has been added to a document. [2]
|
|
328
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins
|
|
329
|
+
*/
|
|
330
|
+
ins: AnyAttributes<HTMLModElement>;
|
|
331
|
+
/**
|
|
332
|
+
* The <kbd> HTML element represents a span of inline text denoting textual user input from a keyboard, voice
|
|
333
|
+
* input, or any other text entry device. [8]
|
|
334
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd
|
|
335
|
+
*/
|
|
79
336
|
kbd: AnyAttributes;
|
|
337
|
+
/**
|
|
338
|
+
* @deprecated
|
|
339
|
+
*/
|
|
80
340
|
keygen: AnyAttributes;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
341
|
+
/**
|
|
342
|
+
* The <label> HTML element represents a caption for an item in a user interface. [3]
|
|
343
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
|
|
344
|
+
*/
|
|
345
|
+
label: AnyAttributes<HTMLLabelElement>;
|
|
346
|
+
/**
|
|
347
|
+
* The <legend> HTML element represents a caption for the content of its parent <fieldset>. [3]
|
|
348
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend
|
|
349
|
+
*/
|
|
350
|
+
legend: AnyAttributes<HTMLLegendElement>;
|
|
351
|
+
/**
|
|
352
|
+
* The <li> HTML element is used to represent an item in a list. [13]
|
|
353
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li
|
|
354
|
+
*/
|
|
355
|
+
li: AnyAttributes<HTMLLIElement>;
|
|
356
|
+
/**
|
|
357
|
+
* The <link> HTML element specifies relationships between the current document and an external resource. This
|
|
358
|
+
* element is most commonly used to link to stylesheets, but is also used to establish site icons. [3]
|
|
359
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
|
|
360
|
+
*/
|
|
361
|
+
link: AnyAttributes<HTMLLinkElement>;
|
|
362
|
+
/**
|
|
363
|
+
* The <main> HTML element represents the dominant content of the <body> of a document.
|
|
364
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main
|
|
365
|
+
*/
|
|
85
366
|
main: AnyAttributes;
|
|
86
|
-
|
|
367
|
+
/**
|
|
368
|
+
* The <map> HTML element is used with <area> elements to define an image map (a clickable link area).
|
|
369
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map
|
|
370
|
+
*/
|
|
371
|
+
map: AnyAttributes<HTMLMapElement>;
|
|
372
|
+
/**
|
|
373
|
+
* The <mark> HTML element represents text which is marked or highlighted for reference or notation purposes, due
|
|
374
|
+
* to the marked passage's relevance or importance in the enclosing context.
|
|
375
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark
|
|
376
|
+
*/
|
|
87
377
|
mark: AnyAttributes;
|
|
88
|
-
|
|
89
|
-
|
|
378
|
+
/**
|
|
379
|
+
* The `<marquee>` HTML element is used to insert a scrolling area of text.
|
|
380
|
+
* @deprecated Use CSS animations instead.
|
|
381
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee
|
|
382
|
+
*/
|
|
383
|
+
marquee: AnyAttributes<HTMLMarqueeElement>;
|
|
384
|
+
/**
|
|
385
|
+
* The <menu> HTML element is a semantic alternative to <ul>. It represents an unordered list of items (which are
|
|
386
|
+
* represented by <li> elements).
|
|
387
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu
|
|
388
|
+
*/
|
|
389
|
+
menu: AnyAttributes<HTMLMenuElement>;
|
|
390
|
+
/**
|
|
391
|
+
* The `<menuitem>` HTML element defines a command/menu item that the user can invoke from a popup menu.
|
|
392
|
+
* @deprecated
|
|
393
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem
|
|
394
|
+
*/
|
|
90
395
|
menuitem: AnyAttributes;
|
|
91
|
-
|
|
92
|
-
|
|
396
|
+
/**
|
|
397
|
+
* The <meta> HTML element represents metadata that cannot be represented by other HTML meta-related elements, like
|
|
398
|
+
* <base>, <link>, <script>, <style> or <title>. [3]
|
|
399
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
|
|
400
|
+
*/
|
|
401
|
+
meta: AnyAttributes<HTMLMetaElement>;
|
|
402
|
+
/**
|
|
403
|
+
* The <meter> HTML element represents either a scalar value within a known range or a fractional value. [3]
|
|
404
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter
|
|
405
|
+
*/
|
|
406
|
+
meter: AnyAttributes<HTMLMeterElement>;
|
|
407
|
+
/**
|
|
408
|
+
* The <nav> HTML element represents a section of a page whose purpose is to provide navigation links, either
|
|
409
|
+
* within the current document or to other documents. Common examples of navigation sections are menus, tables of
|
|
410
|
+
* contents, and indexes.
|
|
411
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav
|
|
412
|
+
*/
|
|
93
413
|
nav: AnyAttributes;
|
|
414
|
+
/**
|
|
415
|
+
* @deprecated
|
|
416
|
+
*/
|
|
94
417
|
nobr: AnyAttributes;
|
|
418
|
+
/**
|
|
419
|
+
* The `<noembed>` HTML element is an obsolete, non-standard way to provide alternative, or "fallback", content for
|
|
420
|
+
* browsers that do not support the `<embed>` element.
|
|
421
|
+
* @deprecated Use the `<object>` element instead.
|
|
422
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noembed
|
|
423
|
+
*/
|
|
95
424
|
noembed: AnyAttributes;
|
|
425
|
+
/**
|
|
426
|
+
* The `<noframes>` element provides content to be displayed in browsers that do not support, or are configured not
|
|
427
|
+
* to support, the `<frame>` element.
|
|
428
|
+
* @deprecated
|
|
429
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noframes
|
|
430
|
+
*/
|
|
96
431
|
noframes: AnyAttributes;
|
|
432
|
+
/**
|
|
433
|
+
* The <noscript> HTML element defines a section of HTML to be inserted if a script type on the page is unsupported
|
|
434
|
+
* or if scripting is currently turned off in the browser.
|
|
435
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript
|
|
436
|
+
*/
|
|
97
437
|
noscript: AnyAttributes;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
438
|
+
/**
|
|
439
|
+
* The <object> HTML element represents an external resource, which can be treated as an image, a nested browsing
|
|
440
|
+
* context, or a resource to be handled by a plugin.
|
|
441
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object
|
|
442
|
+
*/
|
|
443
|
+
object: AnyAttributes<HTMLObjectElement>;
|
|
444
|
+
/**
|
|
445
|
+
* The <ol> HTML element represents an ordered list of items — typically rendered as a numbered list.
|
|
446
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol
|
|
447
|
+
*/
|
|
448
|
+
ol: AnyAttributes<HTMLOListElement>;
|
|
449
|
+
/**
|
|
450
|
+
* The <optgroup> HTML element creates a grouping of options within a <select> element. [3]
|
|
451
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup
|
|
452
|
+
*/
|
|
453
|
+
optgroup: AnyAttributes<HTMLOptGroupElement>;
|
|
454
|
+
/**
|
|
455
|
+
* The <option> HTML element is used to define an item contained in a <select>, an <optgroup>, or a <datalist>
|
|
456
|
+
* element. As such, <option> can represent menu items in popups and other lists of items in an HTML document. [3]
|
|
457
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
|
|
458
|
+
*/
|
|
459
|
+
option: AnyAttributes<HTMLOptionElement>;
|
|
460
|
+
/**
|
|
461
|
+
* The <output> HTML element is a container element into which a site or app can inject the results of a
|
|
462
|
+
* calculation or the outcome of a user action.
|
|
463
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output
|
|
464
|
+
*/
|
|
465
|
+
output: AnyAttributes<HTMLOutputElement>;
|
|
466
|
+
/**
|
|
467
|
+
* The <p> HTML element represents a paragraph. [3]
|
|
468
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p
|
|
469
|
+
*/
|
|
470
|
+
p: AnyAttributes<HTMLParagraphElement>;
|
|
471
|
+
/**
|
|
472
|
+
* The `<param>` HTML element defines parameters for an `<object>` element.
|
|
473
|
+
* @deprecated
|
|
474
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param
|
|
475
|
+
*/
|
|
476
|
+
param: AnyAttributes<HTMLParamElement>;
|
|
477
|
+
/**
|
|
478
|
+
* The <picture> HTML element contains zero or more <source> elements and one <img> element to offer alternative
|
|
479
|
+
* versions of an image for different display/device scenarios.
|
|
480
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
|
|
481
|
+
*/
|
|
482
|
+
picture: AnyAttributes<HTMLPictureElement>;
|
|
483
|
+
/**
|
|
484
|
+
* The `<plaintext>` HTML element renders everything following the start tag as raw text, ignoring any following
|
|
485
|
+
* HTML.
|
|
486
|
+
* @deprecated Use the `<pre>` or `<code>` element instead, or serve a text file with the `text/plain` MIME type.
|
|
487
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/plaintext
|
|
488
|
+
*/
|
|
106
489
|
plaintext: AnyAttributes;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
490
|
+
/**
|
|
491
|
+
* The <pre> HTML element represents preformatted text which is to be presented exactly as written in the HTML
|
|
492
|
+
* file. [3]
|
|
493
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre
|
|
494
|
+
*/
|
|
495
|
+
pre: AnyAttributes<HTMLPreElement>;
|
|
496
|
+
/**
|
|
497
|
+
* The <progress> HTML element displays an indicator showing the completion progress of a task, typically displayed
|
|
498
|
+
* as a progress bar.
|
|
499
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress
|
|
500
|
+
*/
|
|
501
|
+
progress: AnyAttributes<HTMLProgressElement>;
|
|
502
|
+
/**
|
|
503
|
+
* The <q> HTML element indicates that the enclosed text is a short inline quotation. [10]
|
|
504
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q
|
|
505
|
+
*/
|
|
506
|
+
q: AnyAttributes<HTMLQuoteElement>;
|
|
507
|
+
/**
|
|
508
|
+
* The `<rb>` HTML element is used to delimit the base text component of a `<ruby>` annotation.
|
|
509
|
+
* @deprecated
|
|
510
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rb
|
|
511
|
+
*/
|
|
111
512
|
rb: AnyAttributes;
|
|
513
|
+
/**
|
|
514
|
+
* The <rp> HTML element is used to provide fall-back parentheses for browsers that do not support the display of
|
|
515
|
+
* ruby annotations using the <ruby> element. [9]
|
|
516
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp
|
|
517
|
+
*/
|
|
112
518
|
rp: AnyAttributes;
|
|
519
|
+
/**
|
|
520
|
+
* The <rt> HTML element specifies the ruby text component of a ruby annotation, which is used to provide
|
|
521
|
+
* pronunciation, translation, or transliteration information for East Asian typography. The <rt> element must
|
|
522
|
+
* always be contained within a <ruby> element.
|
|
523
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt
|
|
524
|
+
*/
|
|
113
525
|
rt: AnyAttributes;
|
|
526
|
+
/**
|
|
527
|
+
* @deprecated
|
|
528
|
+
*/
|
|
114
529
|
rtc: AnyAttributes;
|
|
530
|
+
/**
|
|
531
|
+
* The <ruby> HTML element represents small annotations that are rendered above, below, or next to base text,
|
|
532
|
+
* usually used for showing the pronunciation of East Asian characters. [14]
|
|
533
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby
|
|
534
|
+
*/
|
|
115
535
|
ruby: AnyAttributes;
|
|
536
|
+
/**
|
|
537
|
+
* The <s> HTML element renders text with a strikethrough, or a line through it. Use the <s> element to represent
|
|
538
|
+
* things that are no longer relevant or no longer accurate. [14]
|
|
539
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s
|
|
540
|
+
*/
|
|
116
541
|
s: AnyAttributes;
|
|
542
|
+
/**
|
|
543
|
+
* The <samp> HTML element is used to enclose inline text which represents sample (or quoted) output from a
|
|
544
|
+
* computer program. [20]
|
|
545
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp
|
|
546
|
+
*/
|
|
117
547
|
samp: AnyAttributes;
|
|
118
|
-
|
|
548
|
+
/**
|
|
549
|
+
* The <script> HTML element is used to embed executable code or data; this is typically used to embed or refer to
|
|
550
|
+
* JavaScript code. The <script> element can also be used with other languages, such as WebGL's GLSL shader
|
|
551
|
+
* programming language and JSON.
|
|
552
|
+
*/
|
|
553
|
+
script: ScriptElementAttributes;
|
|
554
|
+
/**
|
|
555
|
+
* The <search> HTML element is a container for a part of a document or application that contains form controls or
|
|
556
|
+
* other content related to performing a search or filtering operation.
|
|
557
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search
|
|
558
|
+
*/
|
|
119
559
|
search: AnyAttributes;
|
|
560
|
+
/**
|
|
561
|
+
* The <section> HTML element represents a generic standalone section of a document, which doesn't have a more
|
|
562
|
+
* specific semantic element to represent it.
|
|
563
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section
|
|
564
|
+
*/
|
|
120
565
|
section: AnyAttributes;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
566
|
+
/**
|
|
567
|
+
* The <select> HTML element represents a control that provides a menu of options.
|
|
568
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
|
|
569
|
+
*/
|
|
570
|
+
select: AnyAttributes<HTMLSelectElement>;
|
|
571
|
+
/**
|
|
572
|
+
* The <slot> HTML element—part of the Web Components technology suite—is a placeholder inside a web component that
|
|
573
|
+
* you can fill with your own markup, which lets you create separate DOM trees and present them together.
|
|
574
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot
|
|
575
|
+
*/
|
|
576
|
+
slot: AnyAttributes<HTMLSlotElement>;
|
|
577
|
+
/**
|
|
578
|
+
* The <small> HTML element represents side-comments and small print, like copyright and legal text, independent of
|
|
579
|
+
* its styled presentation. [7]
|
|
580
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
|
|
581
|
+
*/
|
|
124
582
|
small: AnyAttributes;
|
|
125
|
-
|
|
126
|
-
|
|
583
|
+
/**
|
|
584
|
+
* The <source> HTML element specifies multiple media resources for the <picture>, the <audio> element, or the
|
|
585
|
+
* <video> element.
|
|
586
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source
|
|
587
|
+
*/
|
|
588
|
+
source: AnyAttributes<HTMLSourceElement>;
|
|
589
|
+
/**
|
|
590
|
+
* The <span> HTML element is a generic inline container for phrasing content, which does not inherently represent
|
|
591
|
+
* anything. It can be used to group elements for styling purposes (using the class or id attributes), or because
|
|
592
|
+
* they share attribute values, such as lang.
|
|
593
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
|
|
594
|
+
*/
|
|
595
|
+
span: AnyAttributes<HTMLSpanElement>;
|
|
596
|
+
/**
|
|
597
|
+
* @deprecated Use the `<del>` or `<s>` element instead.
|
|
598
|
+
*/
|
|
127
599
|
strike: AnyAttributes;
|
|
600
|
+
/**
|
|
601
|
+
* The <strong> HTML element indicates that its contents have strong importance, seriousness, or urgency. Browsers
|
|
602
|
+
* typically render the contents in bold type.
|
|
603
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong
|
|
604
|
+
*/
|
|
128
605
|
strong: AnyAttributes;
|
|
129
|
-
|
|
606
|
+
/**
|
|
607
|
+
* The <style> HTML element contains style information for a document, or part of a document. [3]
|
|
608
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style
|
|
609
|
+
*/
|
|
610
|
+
style: StyleHTMLAttributes;
|
|
611
|
+
/**
|
|
612
|
+
* The <sub> HTML element specifies inline text which should be displayed as subscript for solely typographical
|
|
613
|
+
* reasons.
|
|
614
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub
|
|
615
|
+
*/
|
|
130
616
|
sub: AnyAttributes;
|
|
617
|
+
/**
|
|
618
|
+
* The <summary> HTML element specifies a summary, caption, or legend for a <details> element's disclosure box.
|
|
619
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
|
|
620
|
+
*/
|
|
131
621
|
summary: AnyAttributes;
|
|
622
|
+
/**
|
|
623
|
+
* The <sup> HTML element specifies inline text which is to be displayed as superscript for solely typographical
|
|
624
|
+
* reasons.
|
|
625
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup
|
|
626
|
+
*/
|
|
132
627
|
sup: AnyAttributes;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
628
|
+
/**
|
|
629
|
+
* The <table> HTML element represents tabular data — that is, information presented in a two-dimensional table
|
|
630
|
+
* comprised of rows and columns of cells containing data.
|
|
631
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
|
|
632
|
+
*/
|
|
633
|
+
table: AnyAttributes<HTMLTableElement>;
|
|
634
|
+
/**
|
|
635
|
+
* The <tbody> HTML element encapsulates a set of table rows (<tr> elements), indicating that they comprise the
|
|
636
|
+
* body of the table (<table>).
|
|
637
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
|
|
638
|
+
*/
|
|
639
|
+
tbody: AnyAttributes<HTMLTableSectionElement>;
|
|
640
|
+
/**
|
|
641
|
+
* The <td> HTML element defines a cell of a table that contains data. [3]
|
|
642
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
|
|
643
|
+
*/
|
|
644
|
+
td: AnyAttributes<HTMLTableCellElement>;
|
|
645
|
+
/**
|
|
646
|
+
* The <template> HTML element is a mechanism for holding HTML that is not to be rendered immediately when a page
|
|
647
|
+
* is loaded but may be instantiated subsequently during runtime using JavaScript.
|
|
648
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template
|
|
649
|
+
*/
|
|
650
|
+
template: AnyAttributes<HTMLTemplateElement>;
|
|
651
|
+
/**
|
|
652
|
+
* The <textarea> HTML element represents a multi-line plain-text editing control, useful when you want to allow
|
|
653
|
+
* users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form.
|
|
654
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
|
|
655
|
+
*/
|
|
656
|
+
textarea: AnyAttributes<HTMLTextAreaElement>;
|
|
657
|
+
/**
|
|
658
|
+
* The <tfoot> HTML element defines a set of rows summarizing the columns of the table. [3]
|
|
659
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot
|
|
660
|
+
*/
|
|
661
|
+
tfoot: AnyAttributes<HTMLTableSectionElement>;
|
|
662
|
+
/**
|
|
663
|
+
* The <th> HTML element defines a cell as header of a group of table cells. [3]
|
|
664
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
|
|
665
|
+
*/
|
|
666
|
+
th: AnyAttributes<HTMLTableCellElement>;
|
|
667
|
+
/**
|
|
668
|
+
* The <thead> HTML element defines a set of rows defining the head of the columns of the table. [3]
|
|
669
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead
|
|
670
|
+
*/
|
|
671
|
+
thead: AnyAttributes<HTMLTableSectionElement>;
|
|
672
|
+
/**
|
|
673
|
+
* The <time> HTML element represents a specific period in time.
|
|
674
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
|
|
675
|
+
*/
|
|
676
|
+
time: AnyAttributes<HTMLTimeElement>;
|
|
677
|
+
/**
|
|
678
|
+
* The <title> HTML element defines the document's title that is shown in a browser's title bar or a page's tab. [3]
|
|
679
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title
|
|
680
|
+
*/
|
|
681
|
+
title: AnyAttributes<HTMLTitleElement>;
|
|
682
|
+
/**
|
|
683
|
+
* The <tr> HTML element defines a row of cells in a table. [3]
|
|
684
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr
|
|
685
|
+
*/
|
|
686
|
+
tr: AnyAttributes<HTMLTableRowElement>;
|
|
687
|
+
/**
|
|
688
|
+
* The <track> HTML element is used as a child of the media elements, <audio> and <video>. It lets you specify
|
|
689
|
+
* timed text tracks (or time-based data), for example to automatically handle subtitles.
|
|
690
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track
|
|
691
|
+
*/
|
|
692
|
+
track: AnyAttributes<HTMLTrackElement>;
|
|
693
|
+
/**
|
|
694
|
+
* @deprecated Use the `<code>` element or CSS for monospaced text instead.
|
|
695
|
+
*/
|
|
145
696
|
tt: AnyAttributes;
|
|
697
|
+
/**
|
|
698
|
+
* The <u> HTML element represents a span of inline text which should be rendered in a way that indicates that it
|
|
699
|
+
* has a non-textual annotation.
|
|
700
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u
|
|
701
|
+
*/
|
|
146
702
|
u: AnyAttributes;
|
|
147
|
-
|
|
703
|
+
/**
|
|
704
|
+
* The <ul> HTML element represents an unordered list of items, typically rendered as a bulleted list.
|
|
705
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul
|
|
706
|
+
*/
|
|
707
|
+
ul: AnyAttributes<HTMLUListElement>;
|
|
708
|
+
/**
|
|
709
|
+
* The <var> HTML element represents the name of a variable in a mathematical expression or a programming context.
|
|
710
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var
|
|
711
|
+
*/
|
|
148
712
|
var: AnyAttributes;
|
|
149
|
-
|
|
713
|
+
/**
|
|
714
|
+
* The <video> HTML element embeds a media player which supports video playback into the document.
|
|
715
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
|
|
716
|
+
*/
|
|
717
|
+
video: AnyAttributes<HTMLVideoElement>;
|
|
718
|
+
/**
|
|
719
|
+
* The <wbr> HTML element represents a word break opportunity—a position within text where the browser may
|
|
720
|
+
* optionally break a line, though its line-breaking rules would not otherwise create a break at that location.
|
|
721
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr
|
|
722
|
+
*/
|
|
150
723
|
wbr: AnyAttributes;
|
|
151
|
-
|
|
724
|
+
/**
|
|
725
|
+
* The `<xmp>` HTML element renders text between the start and end tags without interpreting the HTML in between
|
|
726
|
+
* and using a monospaced font.
|
|
727
|
+
* @deprecated Use the `<pre>` or `<code>` element instead.
|
|
728
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/xmp
|
|
729
|
+
*/
|
|
730
|
+
xmp: AnyAttributes<HTMLPreElement>;
|
|
152
731
|
};
|