@mpen/jsxhtml 0.2.2 → 0.4.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/classnames.d.ts +11 -0
- package/dist/classnames.test.d.ts +1 -0
- package/dist/css-escape.d.ts +25 -0
- package/dist/custom/C.d.ts +6 -0
- package/dist/custom/Checkbox.d.ts +5 -0
- package/dist/custom/ColorInput.d.ts +5 -0
- package/dist/custom/DateInput.d.ts +5 -0
- package/dist/custom/DocType.d.ts +6 -0
- package/dist/custom/EmailInput.d.ts +5 -0
- package/dist/custom/Empty.d.ts +4 -0
- package/dist/custom/FileInput.d.ts +5 -0
- package/dist/custom/HtmlDocument.d.ts +5 -0
- package/dist/custom/NumberInput.d.ts +5 -0
- package/dist/custom/PasswordInput.d.ts +5 -0
- package/dist/custom/RadioButton.d.ts +5 -0
- package/dist/custom/RangeInput.d.ts +5 -0
- package/dist/custom/RawHtml.d.ts +6 -0
- package/dist/custom/SearchInput.d.ts +5 -0
- package/dist/custom/TelephoneInput.d.ts +5 -0
- package/dist/custom/TextInput.d.ts +5 -0
- package/dist/custom/TimeInput.d.ts +5 -0
- package/dist/custom/UrlInput.d.ts +5 -0
- package/dist/custom/WeekInput.d.ts +5 -0
- package/dist/custom/index.d.ts +20 -0
- package/dist/custom-components.d.ts +1 -23
- package/dist/htmlspec/IntrinsicElements.d.ts +568 -147
- package/dist/htmlspec/attributes/AriaAttributes.d.ts +11 -0
- package/dist/htmlspec/attributes/ElementAttributes.d.ts +28 -0
- package/dist/htmlspec/attributes/EventHandlers.d.ts +102 -0
- package/dist/htmlspec/attributes/GlobalAttributes.d.ts +11 -0
- package/dist/htmlspec/{GlobalAttributes.d.ts → attributes/StandardGlobalAttributes.d.ts} +26 -37
- package/dist/htmlspec/attributes/index.d.ts +7 -0
- package/dist/htmlspec/elements/a.d.ts +71 -0
- package/dist/htmlspec/elements/abbr.d.ts +4 -0
- package/dist/htmlspec/elements/address.d.ts +4 -0
- package/dist/htmlspec/elements/area.d.ts +66 -0
- package/dist/htmlspec/elements/article.d.ts +4 -0
- package/dist/htmlspec/elements/aside.d.ts +4 -0
- package/dist/htmlspec/elements/audio.d.ts +45 -0
- package/dist/htmlspec/elements/b.d.ts +4 -0
- package/dist/htmlspec/elements/base.d.ts +18 -0
- package/dist/htmlspec/elements/bdi.d.ts +4 -0
- package/dist/htmlspec/elements/bdo.d.ts +4 -0
- package/dist/htmlspec/elements/blockquote.d.ts +8 -0
- package/dist/htmlspec/elements/body.d.ts +92 -0
- package/dist/htmlspec/elements/br.d.ts +4 -0
- package/dist/htmlspec/elements/button.d.ts +103 -0
- package/dist/htmlspec/elements/canvas.d.ts +13 -0
- package/dist/htmlspec/elements/caption.d.ts +4 -0
- package/dist/htmlspec/elements/cite.d.ts +4 -0
- package/dist/htmlspec/elements/code.d.ts +4 -0
- package/dist/htmlspec/elements/col.d.ts +9 -0
- package/dist/htmlspec/elements/colgroup.d.ts +9 -0
- package/dist/htmlspec/elements/data.d.ts +9 -0
- package/dist/htmlspec/elements/datalist.d.ts +4 -0
- package/dist/htmlspec/elements/dd.d.ts +4 -0
- package/dist/htmlspec/elements/del.d.ts +12 -0
- package/dist/htmlspec/elements/details.d.ts +12 -0
- package/dist/htmlspec/elements/dfn.d.ts +4 -0
- package/dist/htmlspec/elements/dialog.d.ts +17 -0
- package/dist/htmlspec/elements/div.d.ts +4 -0
- package/dist/htmlspec/elements/dl.d.ts +4 -0
- package/dist/htmlspec/elements/dt.d.ts +4 -0
- package/dist/htmlspec/elements/element-types.d.ts +1 -0
- package/dist/htmlspec/elements/em.d.ts +4 -0
- package/dist/htmlspec/elements/embed.d.ts +21 -0
- package/dist/htmlspec/elements/fencedframe.d.ts +23 -0
- package/dist/htmlspec/elements/fieldset.d.ts +16 -0
- package/dist/htmlspec/elements/figcaption.d.ts +4 -0
- package/dist/htmlspec/elements/figure.d.ts +4 -0
- package/dist/htmlspec/elements/footer.d.ts +4 -0
- package/dist/htmlspec/elements/form.d.ts +61 -0
- package/dist/htmlspec/elements/h1.d.ts +4 -0
- package/dist/htmlspec/elements/h2.d.ts +4 -0
- package/dist/htmlspec/elements/h3.d.ts +4 -0
- package/dist/htmlspec/elements/h4.d.ts +4 -0
- package/dist/htmlspec/elements/h5.d.ts +4 -0
- package/dist/htmlspec/elements/h6.d.ts +4 -0
- package/dist/htmlspec/elements/head.d.ts +4 -0
- package/dist/htmlspec/elements/header.d.ts +4 -0
- package/dist/htmlspec/elements/hgroup.d.ts +4 -0
- package/dist/htmlspec/elements/hr.d.ts +4 -0
- package/dist/htmlspec/elements/html.d.ts +8 -0
- package/dist/htmlspec/elements/i.d.ts +4 -0
- package/dist/htmlspec/elements/iframe.d.ts +82 -0
- package/dist/htmlspec/elements/img.d.ts +90 -0
- package/dist/htmlspec/elements/index.d.ts +114 -0
- package/dist/htmlspec/elements/input.d.ts +189 -0
- package/dist/htmlspec/elements/ins.d.ts +12 -0
- package/dist/htmlspec/elements/kbd.d.ts +4 -0
- package/dist/htmlspec/elements/label.d.ts +8 -0
- package/dist/htmlspec/elements/legend.d.ts +4 -0
- package/dist/htmlspec/elements/li.d.ts +19 -0
- package/dist/htmlspec/elements/link.d.ts +77 -0
- package/dist/htmlspec/elements/main.d.ts +4 -0
- package/dist/htmlspec/elements/map.d.ts +8 -0
- package/dist/htmlspec/elements/mark.d.ts +4 -0
- package/dist/htmlspec/elements/menu.d.ts +4 -0
- package/dist/htmlspec/elements/meta.d.ts +24 -0
- package/dist/htmlspec/elements/meter.d.ts +29 -0
- package/dist/htmlspec/elements/nav.d.ts +4 -0
- package/dist/htmlspec/elements/noscript.d.ts +4 -0
- package/dist/htmlspec/elements/object.d.ts +29 -0
- package/dist/htmlspec/elements/ol.d.ts +24 -0
- package/dist/htmlspec/elements/optgroup.d.ts +12 -0
- package/dist/htmlspec/elements/option.d.ts +21 -0
- package/dist/htmlspec/elements/output.d.ts +16 -0
- package/dist/htmlspec/elements/p.d.ts +4 -0
- package/dist/htmlspec/elements/picture.d.ts +4 -0
- package/dist/htmlspec/elements/pre.d.ts +4 -0
- package/dist/htmlspec/elements/progress.d.ts +13 -0
- package/dist/htmlspec/elements/q.d.ts +8 -0
- package/dist/htmlspec/elements/rp.d.ts +4 -0
- package/dist/htmlspec/elements/rt.d.ts +4 -0
- package/dist/htmlspec/elements/ruby.d.ts +4 -0
- package/dist/htmlspec/elements/s.d.ts +4 -0
- package/dist/htmlspec/elements/samp.d.ts +4 -0
- package/dist/htmlspec/elements/script.d.ts +57 -0
- package/dist/htmlspec/elements/search.d.ts +4 -0
- package/dist/htmlspec/elements/section.d.ts +4 -0
- package/dist/htmlspec/elements/select.d.ts +37 -0
- package/dist/htmlspec/elements/selectedcontent.d.ts +7 -0
- package/dist/htmlspec/elements/slot.d.ts +8 -0
- package/dist/htmlspec/elements/small.d.ts +4 -0
- package/dist/htmlspec/elements/source.d.ts +33 -0
- package/dist/htmlspec/elements/span.d.ts +4 -0
- package/dist/htmlspec/elements/strong.d.ts +4 -0
- package/dist/htmlspec/elements/style.d.ts +21 -0
- package/dist/htmlspec/elements/sub.d.ts +4 -0
- package/dist/htmlspec/elements/summary.d.ts +4 -0
- package/dist/htmlspec/elements/sup.d.ts +4 -0
- package/dist/htmlspec/elements/table.d.ts +4 -0
- package/dist/htmlspec/elements/tbody.d.ts +4 -0
- package/dist/htmlspec/elements/td.d.ts +17 -0
- package/dist/htmlspec/elements/template.d.ts +29 -0
- package/dist/htmlspec/elements/textarea.d.ts +66 -0
- package/dist/htmlspec/elements/tfoot.d.ts +4 -0
- package/dist/htmlspec/elements/th.d.ts +31 -0
- package/dist/htmlspec/elements/thead.d.ts +4 -0
- package/dist/htmlspec/elements/time.d.ts +8 -0
- package/dist/htmlspec/elements/title.d.ts +4 -0
- package/dist/htmlspec/elements/tr.d.ts +4 -0
- package/dist/htmlspec/elements/track.d.ts +31 -0
- package/dist/htmlspec/elements/u.d.ts +4 -0
- package/dist/htmlspec/elements/ul.d.ts +12 -0
- package/dist/htmlspec/elements/var.d.ts +4 -0
- package/dist/htmlspec/elements/video.d.ts +66 -0
- package/dist/htmlspec/elements/wbr.d.ts +4 -0
- package/dist/index.cjs +144 -7
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +114 -9
- package/dist/internal/dev.d.ts +1 -0
- package/dist/internal/kitchen-sink-dev.d.ts +7 -0
- package/dist/internal/kitchen-sink.d.ts +2 -0
- package/dist/internal/log.d.ts +2 -0
- package/dist/internal/type-assert.d.ts +39 -0
- package/dist/jsx-dev-runtime.cjs +3 -2
- package/dist/jsx-dev-runtime.mjs +2 -3
- package/dist/{jsx-runtime-DpEMYmD9.js → jsx-runtime-BQPDXeiv.js} +675 -32
- package/dist/{jsx-runtime-CsQM2fQb.js → jsx-runtime-DlHYwToA.js} +672 -33
- package/dist/jsx-runtime.cjs +3 -1
- package/dist/jsx-runtime.mjs +1 -1
- package/dist/jsx-types.d.ts +6 -24
- package/dist/jsx.d.ts +3 -2
- package/dist/jsx.test.d.ts +1 -0
- package/dist/template-strings.d.ts +12 -0
- package/dist/template-strings.test.d.ts +6 -0
- package/package.json +93 -82
- package/dist/htmlspec/AnchorElement.d.ts +0 -83
|
@@ -1,152 +1,573 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { AnchorElement } from './AnchorElement';
|
|
1
|
+
import type { AAttributes, AbbrAttributes, AddressAttributes, AreaAttributes, ArticleAttributes, AsideAttributes, AudioAttributes, BAttributes, BaseAttributes, BdiAttributes, BdoAttributes, BlockquoteAttributes, BodyAttributes, BrAttributes, ButtonAttributes, CanvasAttributes, CaptionAttributes, CiteAttributes, CodeAttributes, ColAttributes, ColgroupAttributes, DataAttributes, DatalistAttributes, DdAttributes, DelAttributes, DetailsAttributes, DfnAttributes, DialogAttributes, DivAttributes, DlAttributes, DtAttributes, EmAttributes, EmbedAttributes, FencedframeAttributes, FieldsetAttributes, FigcaptionAttributes, FigureAttributes, FooterAttributes, FormAttributes, H1Attributes, H2Attributes, H3Attributes, H4Attributes, H5Attributes, H6Attributes, HeadAttributes, HeaderAttributes, HgroupAttributes, HrAttributes, HtmlAttributes, IAttributes, IframeAttributes, ImgAttributes, InputAttributes, InsAttributes, KbdAttributes, LabelAttributes, LegendAttributes, LiAttributes, LinkAttributes, MainAttributes, MapAttributes, MarkAttributes, MenuAttributes, MetaAttributes, MeterAttributes, NavAttributes, NoscriptAttributes, ObjectAttributes, OlAttributes, OptgroupAttributes, OptionAttributes, OutputAttributes, PAttributes, PictureAttributes, PreAttributes, ProgressAttributes, QAttributes, RpAttributes, RtAttributes, RubyAttributes, SAttributes, SampAttributes, ScriptAttributes, SearchAttributes, SectionAttributes, SelectAttributes, SelectedcontentAttributes, SlotAttributes, SmallAttributes, SourceAttributes, SpanAttributes, StrongAttributes, StyleAttributes, SubAttributes, SummaryAttributes, SupAttributes, TableAttributes, TbodyAttributes, TdAttributes, TemplateAttributes, TextareaAttributes, TfootAttributes, ThAttributes, TheadAttributes, TimeAttributes, TitleAttributes, TrAttributes, TrackAttributes, UAttributes, UlAttributes, VarAttributes, VideoAttributes, WbrAttributes } from './elements';
|
|
3
2
|
export type IntrinsicElements = {
|
|
4
3
|
/**
|
|
5
|
-
* The <a> HTML element (or
|
|
6
|
-
* email addresses, locations in the same page, or anything else a URL can address.
|
|
7
|
-
*
|
|
4
|
+
* The <a> HTML element (or _anchor_ element), with its href attribute, creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address.
|
|
8
5
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
|
|
9
6
|
*/
|
|
10
|
-
a:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* The
|
|
73
|
-
*
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
7
|
+
a: AAttributes;
|
|
8
|
+
/**
|
|
9
|
+
* The <abbr> HTML element represents an abbreviation or acronym.
|
|
10
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr
|
|
11
|
+
*/
|
|
12
|
+
abbr: AbbrAttributes;
|
|
13
|
+
/**
|
|
14
|
+
* The <address> HTML element indicates that the enclosed HTML provides contact information for a person or people, or for an organization.
|
|
15
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address
|
|
16
|
+
*/
|
|
17
|
+
address: AddressAttributes;
|
|
18
|
+
/**
|
|
19
|
+
* The <area> HTML element defines an area inside an image map that has predefined clickable areas. An _image map_ allows geometric areas on an image to be associated with hypertext links.
|
|
20
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area
|
|
21
|
+
*/
|
|
22
|
+
area: AreaAttributes;
|
|
23
|
+
/**
|
|
24
|
+
* The <article> HTML element represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable (e.g., in syndication). Examples include: a forum post, a magazine or newspaper article, or a blog entry, a product card, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.
|
|
25
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article
|
|
26
|
+
*/
|
|
27
|
+
article: ArticleAttributes;
|
|
28
|
+
/**
|
|
29
|
+
* The <aside> HTML element represents a portion of a document whose content is only indirectly related to the document's main content. Asides are frequently presented as sidebars or call-out boxes.
|
|
30
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside
|
|
31
|
+
*/
|
|
32
|
+
aside: AsideAttributes;
|
|
33
|
+
/**
|
|
34
|
+
* The <audio> HTML element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.
|
|
35
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
|
|
36
|
+
*/
|
|
37
|
+
audio: AudioAttributes;
|
|
38
|
+
/**
|
|
39
|
+
* The <b> HTML element is used to draw the reader's attention to the element's contents, which are not otherwise granted special importance. This was formerly known as the Boldface element, and most browsers still draw the text in boldface. However, you should not use <b> for styling text or granting importance. If you wish to create boldface text, you should use the CSS font-weight property. If you wish to indicate an element is of special importance, you should use the <strong> element.
|
|
40
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b
|
|
41
|
+
*/
|
|
42
|
+
b: BAttributes;
|
|
43
|
+
/**
|
|
44
|
+
* The <base> HTML element specifies the base URL to use for all _relative_ URLs in a document. There can be only one <base> element in a document.
|
|
45
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
|
|
46
|
+
*/
|
|
47
|
+
base: BaseAttributes;
|
|
48
|
+
/**
|
|
49
|
+
* The <bdi> HTML element tells the browser's bidirectional algorithm to treat the text it contains in isolation from its surrounding text. It's particularly useful when a website dynamically inserts some text and doesn't know the directionality of the text being inserted.
|
|
50
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi
|
|
51
|
+
*/
|
|
52
|
+
bdi: BdiAttributes;
|
|
53
|
+
/**
|
|
54
|
+
* The <bdo> HTML element overrides the current directionality of text, so that the text within is rendered in a different direction.
|
|
55
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo
|
|
56
|
+
*/
|
|
57
|
+
bdo: BdoAttributes;
|
|
58
|
+
/**
|
|
59
|
+
* The <blockquote> HTML element indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation (see Notes for how to change it). A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.
|
|
60
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote
|
|
61
|
+
*/
|
|
62
|
+
blockquote: BlockquoteAttributes;
|
|
63
|
+
/**
|
|
64
|
+
* The <body> HTML element represents the content of an HTML document. There can be only one <body> element in a document.
|
|
65
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
|
|
66
|
+
*/
|
|
67
|
+
body: BodyAttributes;
|
|
68
|
+
/**
|
|
69
|
+
* The <br> HTML element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.
|
|
70
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br
|
|
71
|
+
*/
|
|
72
|
+
br: BrAttributes;
|
|
73
|
+
/**
|
|
74
|
+
* The <button> HTML element is an interactive element activated by a user with a mouse, keyboard, finger, voice command, or other assistive technology. Once activated, it then performs an action, such as submitting a form or opening a dialog.
|
|
75
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
|
|
76
|
+
*/
|
|
77
|
+
button: ButtonAttributes;
|
|
78
|
+
/**
|
|
79
|
+
* Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.
|
|
80
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas
|
|
81
|
+
*/
|
|
82
|
+
canvas: CanvasAttributes;
|
|
83
|
+
/**
|
|
84
|
+
* The <caption> HTML element specifies the caption (or title) of a table, providing the table an accessible name or accessible description.
|
|
85
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption
|
|
86
|
+
*/
|
|
87
|
+
caption: CaptionAttributes;
|
|
88
|
+
/**
|
|
89
|
+
* The <cite> HTML element is used to mark up the title of a creative work. The reference may be in an abbreviated form according to context-appropriate conventions related to citation metadata.
|
|
90
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite
|
|
91
|
+
*/
|
|
92
|
+
cite: CiteAttributes;
|
|
93
|
+
/**
|
|
94
|
+
* The <code> HTML element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code. By default, the content text is displayed using the user agent's default monospace font.
|
|
95
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code
|
|
96
|
+
*/
|
|
97
|
+
code: CodeAttributes;
|
|
98
|
+
/**
|
|
99
|
+
* The <col> HTML element defines one or more columns in a column group represented by its parent <colgroup> element. The <col> element is only valid as a child of a <colgroup> element that has no span attribute defined.
|
|
100
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col
|
|
101
|
+
*/
|
|
102
|
+
col: ColAttributes;
|
|
103
|
+
/**
|
|
104
|
+
* The <colgroup> HTML element defines a group of columns within a table.
|
|
105
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup
|
|
106
|
+
*/
|
|
107
|
+
colgroup: ColgroupAttributes;
|
|
108
|
+
/**
|
|
109
|
+
* The <data> HTML element links a given piece of content with a machine-readable translation. If the content is time- or date-related, the <time> element must be used.
|
|
110
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data
|
|
111
|
+
*/
|
|
112
|
+
data: DataAttributes;
|
|
113
|
+
/**
|
|
114
|
+
* The <datalist> HTML element contains a set of <option> elements that represent the permissible or recommended options available to choose from within other controls.
|
|
115
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
|
|
116
|
+
*/
|
|
117
|
+
datalist: DatalistAttributes;
|
|
118
|
+
/**
|
|
119
|
+
* The <dd> HTML element provides the description, definition, or value for the preceding term (<dt>) in a description list (<dl>).
|
|
120
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd
|
|
121
|
+
*/
|
|
122
|
+
dd: DdAttributes;
|
|
123
|
+
/**
|
|
124
|
+
* The <del> HTML element represents a range of text that has been deleted from a document. This can be used when rendering "track changes" or source code diff information, for example. The <ins> element can be used for the opposite purpose: to indicate text that has been added to the document.
|
|
125
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del
|
|
126
|
+
*/
|
|
127
|
+
del: DelAttributes;
|
|
128
|
+
/**
|
|
129
|
+
* The <details> HTML element creates a disclosure widget in which information is visible only when the widget is toggled into an open state. A summary or label must be provided using the <summary> element.
|
|
130
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
|
|
131
|
+
*/
|
|
132
|
+
details: DetailsAttributes;
|
|
133
|
+
/**
|
|
134
|
+
* The <dfn> HTML element indicates a term to be defined. The <dfn> element should be used in a complete definition statement, where the full definition of the term can be one of the following:
|
|
135
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn
|
|
136
|
+
*/
|
|
137
|
+
dfn: DfnAttributes;
|
|
138
|
+
/**
|
|
139
|
+
* The <dialog> HTML element represents a modal or non-modal dialog box or other interactive component, such as a dismissible alert, inspector, or subwindow.
|
|
140
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
|
|
141
|
+
*/
|
|
142
|
+
dialog: DialogAttributes;
|
|
143
|
+
/**
|
|
144
|
+
* The <div> HTML element is the generic container for flow content. It has no effect on the content or layout until styled in some way using CSS (e.g., styling is directly applied to it, or some kind of layout model like Flexbox is applied to its parent element).
|
|
145
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div
|
|
146
|
+
*/
|
|
147
|
+
div: DivAttributes;
|
|
148
|
+
/**
|
|
149
|
+
* The <dl> HTML element represents a description list. The element encloses a list of groups of terms (specified using the <dt> element) and descriptions (provided by <dd> elements). Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).
|
|
150
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl
|
|
151
|
+
*/
|
|
152
|
+
dl: DlAttributes;
|
|
153
|
+
/**
|
|
154
|
+
* The <dt> HTML element specifies a term in a description or definition list, and as such must be used inside a <dl> element. It is usually followed by a <dd> element; however, multiple <dt> elements in a row indicate several terms that are all defined by the immediate next <dd> element.
|
|
155
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt
|
|
156
|
+
*/
|
|
157
|
+
dt: DtAttributes;
|
|
158
|
+
/**
|
|
159
|
+
* The <em> HTML element marks text that has stress emphasis. The <em> element can be nested, with each level of nesting indicating a greater degree of emphasis.
|
|
160
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em
|
|
161
|
+
*/
|
|
162
|
+
em: EmAttributes;
|
|
163
|
+
/**
|
|
164
|
+
* The <embed> HTML element embeds external content at the specified point in the document. This content is provided by an external application or other source of interactive content such as a browser plug-in.
|
|
165
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed
|
|
166
|
+
*/
|
|
167
|
+
embed: EmbedAttributes;
|
|
168
|
+
/**
|
|
169
|
+
* The <fencedframe> HTML element represents a nested browsing context, embedding another HTML page into the current one. <fencedframe>s are very similar to <iframe> elements in form and function, except that:
|
|
170
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fencedframe
|
|
171
|
+
*/
|
|
172
|
+
fencedframe: FencedframeAttributes;
|
|
173
|
+
/**
|
|
174
|
+
* The <fieldset> HTML element is used to group several controls as well as labels (<label>) within a web form.
|
|
175
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset
|
|
176
|
+
*/
|
|
177
|
+
fieldset: FieldsetAttributes;
|
|
178
|
+
/**
|
|
179
|
+
* The <figcaption> HTML element represents a caption or legend describing the rest of the contents of its parent <figure> element, providing the <figure> an accessible name.
|
|
180
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption
|
|
181
|
+
*/
|
|
182
|
+
figcaption: FigcaptionAttributes;
|
|
183
|
+
/**
|
|
184
|
+
* The <figure> HTML element represents self-contained content, potentially with an optional caption, which is specified using the <figcaption> element. The figure, its caption, and its contents are referenced as a single unit.
|
|
185
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure
|
|
186
|
+
*/
|
|
187
|
+
figure: FigureAttributes;
|
|
188
|
+
/**
|
|
189
|
+
* The <footer> HTML element represents a footer for its nearest ancestor sectioning content or sectioning root element. A <footer> typically contains information about the author of the section, copyright data or links to related documents.
|
|
190
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer
|
|
191
|
+
*/
|
|
192
|
+
footer: FooterAttributes;
|
|
193
|
+
/**
|
|
194
|
+
* The <form> HTML element represents a document section containing interactive controls for submitting information.
|
|
195
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
|
|
196
|
+
*/
|
|
197
|
+
form: FormAttributes;
|
|
198
|
+
/**
|
|
199
|
+
* The <h1> HTML element.
|
|
200
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h1
|
|
201
|
+
*/
|
|
202
|
+
h1: H1Attributes;
|
|
203
|
+
/**
|
|
204
|
+
* The <h2> HTML element.
|
|
205
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h2
|
|
206
|
+
*/
|
|
207
|
+
h2: H2Attributes;
|
|
208
|
+
/**
|
|
209
|
+
* The <h3> HTML element.
|
|
210
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h3
|
|
211
|
+
*/
|
|
212
|
+
h3: H3Attributes;
|
|
213
|
+
/**
|
|
214
|
+
* The <h4> HTML element.
|
|
215
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h4
|
|
216
|
+
*/
|
|
217
|
+
h4: H4Attributes;
|
|
218
|
+
/**
|
|
219
|
+
* The <h5> HTML element.
|
|
220
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h5
|
|
221
|
+
*/
|
|
222
|
+
h5: H5Attributes;
|
|
223
|
+
/**
|
|
224
|
+
* The <h6> HTML element.
|
|
225
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h6
|
|
226
|
+
*/
|
|
227
|
+
h6: H6Attributes;
|
|
228
|
+
/**
|
|
229
|
+
* The <head> HTML element contains machine-readable information (metadata) about the document, like its title, scripts, and style sheets. There can be only one <head> element in an HTML document.
|
|
230
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head
|
|
231
|
+
*/
|
|
232
|
+
head: HeadAttributes;
|
|
233
|
+
/**
|
|
234
|
+
* The <header> HTML element represents introductory content, typically a group of introductory or navigational aids. It may contain some heading elements but also a logo, a search form, an author name, and other elements.
|
|
235
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header
|
|
236
|
+
*/
|
|
237
|
+
header: HeaderAttributes;
|
|
238
|
+
/**
|
|
239
|
+
* The <hgroup> HTML element represents a heading and related content. It groups a single <h1>–<h6> element with one or more <p>.
|
|
240
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup
|
|
241
|
+
*/
|
|
242
|
+
hgroup: HgroupAttributes;
|
|
243
|
+
/**
|
|
244
|
+
* The <hr> HTML element represents a thematic break between paragraph-level elements: for example, a change of scene in a story, or a shift of topic within a section.
|
|
245
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr
|
|
246
|
+
*/
|
|
247
|
+
hr: HrAttributes;
|
|
248
|
+
/**
|
|
249
|
+
* The <html> HTML element represents the root (top-level element) of an HTML document, so it is also referred to as the _root element_. All other elements must be descendants of this element. There can be only one <html> element in a document.
|
|
250
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html
|
|
251
|
+
*/
|
|
252
|
+
html: HtmlAttributes;
|
|
253
|
+
/**
|
|
254
|
+
* The <i> HTML element represents a range of text that is set off from the normal text for some reason, such as idiomatic text, technical terms, taxonomical designations, among others. Historically, these have been presented using italicized type, which is the original source of the <i> naming of this element.
|
|
255
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i
|
|
256
|
+
*/
|
|
257
|
+
i: IAttributes;
|
|
258
|
+
/**
|
|
259
|
+
* The <iframe> HTML element represents a nested browsing context, embedding another HTML page into the current one.
|
|
260
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
|
|
261
|
+
*/
|
|
262
|
+
iframe: IframeAttributes;
|
|
263
|
+
/**
|
|
264
|
+
* The <img> HTML element embeds an image into the document.
|
|
265
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
|
|
266
|
+
*/
|
|
267
|
+
img: ImgAttributes;
|
|
268
|
+
/**
|
|
269
|
+
* The <input> HTML 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. The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.
|
|
270
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
|
|
271
|
+
*/
|
|
272
|
+
input: InputAttributes;
|
|
273
|
+
/**
|
|
274
|
+
* The <ins> HTML element represents a range of text that has been added to a document. You can use the <del> element to similarly represent a range of text that has been deleted from the document.
|
|
275
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins
|
|
276
|
+
*/
|
|
277
|
+
ins: InsAttributes;
|
|
278
|
+
/**
|
|
279
|
+
* The <kbd> HTML element represents a span of inline text denoting textual user input from a keyboard, voice input, or any other text entry device. By convention, the user agent defaults to rendering the contents of a <kbd> element using its default monospace font, although this is not mandated by the HTML standard.
|
|
280
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd
|
|
281
|
+
*/
|
|
282
|
+
kbd: KbdAttributes;
|
|
283
|
+
/**
|
|
284
|
+
* The <label> HTML element represents a caption for an item in a user interface.
|
|
285
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
|
|
286
|
+
*/
|
|
287
|
+
label: LabelAttributes;
|
|
288
|
+
/**
|
|
289
|
+
* The <legend> HTML element represents a caption for the content of its parent <fieldset>.
|
|
290
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend
|
|
291
|
+
*/
|
|
292
|
+
legend: LegendAttributes;
|
|
293
|
+
/**
|
|
294
|
+
* The <li> HTML element is used to represent an item in a list. It must be contained in a parent element: an ordered list (<ol>), an unordered list (<ul>), or a menu (<menu>). In menus and unordered lists, list items are usually displayed using bullet points. In ordered lists, they are usually displayed with an ascending counter on the left, such as a number or letter.
|
|
295
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li
|
|
296
|
+
*/
|
|
297
|
+
li: LiAttributes;
|
|
298
|
+
/**
|
|
299
|
+
* The <link> HTML element specifies relationships between the current document and an external resource. This element is most commonly used to link to stylesheets, but is also used to establish site icons (both "favicon" style icons and icons for the home screen and apps on mobile devices) among other things.
|
|
300
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
|
|
301
|
+
*/
|
|
302
|
+
link: LinkAttributes;
|
|
303
|
+
/**
|
|
304
|
+
* The <main> HTML element represents the dominant content of the <body> of a document. The main content area consists of content that is directly related to or expands upon the central topic of a document, or the central functionality of an application.
|
|
305
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main
|
|
306
|
+
*/
|
|
307
|
+
main: MainAttributes;
|
|
308
|
+
/**
|
|
309
|
+
* The <map> HTML element is used with <area> elements to define an image map (a clickable link area).
|
|
310
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map
|
|
311
|
+
*/
|
|
312
|
+
map: MapAttributes;
|
|
313
|
+
/**
|
|
314
|
+
* The <mark> HTML element represents text which is marked or highlighted for reference or notation purposes due to the marked passage's relevance in the enclosing context.
|
|
315
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark
|
|
316
|
+
*/
|
|
317
|
+
mark: MarkAttributes;
|
|
318
|
+
/**
|
|
319
|
+
* The <menu> HTML element is described in the HTML specification as a semantic alternative to <ul>, but treated by browsers (and exposed through the accessibility tree) as no different than <ul>. It represents an unordered list of items (which are represented by <li> elements).
|
|
320
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu
|
|
321
|
+
*/
|
|
322
|
+
menu: MenuAttributes;
|
|
323
|
+
/**
|
|
324
|
+
* The <meta> HTML element represents metadata that cannot be represented by other meta-related elements, such as <base>, <link>, <script>, <style>, or <title>.
|
|
325
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
|
|
326
|
+
*/
|
|
327
|
+
meta: MetaAttributes;
|
|
328
|
+
/**
|
|
329
|
+
* The <meter> HTML element represents either a scalar value within a known range or a fractional value.
|
|
330
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter
|
|
331
|
+
*/
|
|
332
|
+
meter: MeterAttributes;
|
|
333
|
+
/**
|
|
334
|
+
* The <nav> HTML element represents a section of a page whose purpose is to provide navigation links, either within the current document or to other documents. Common examples of navigation sections are menus, tables of contents, and indexes.
|
|
335
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav
|
|
336
|
+
*/
|
|
337
|
+
nav: NavAttributes;
|
|
338
|
+
/**
|
|
339
|
+
* The <noscript> HTML element defines a section of HTML to be inserted if a script type on the page is unsupported or if scripting is currently turned off in the browser.
|
|
340
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript
|
|
341
|
+
*/
|
|
342
|
+
noscript: NoscriptAttributes;
|
|
343
|
+
/**
|
|
344
|
+
* The <object> HTML element represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plugin.
|
|
345
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object
|
|
346
|
+
*/
|
|
347
|
+
object: ObjectAttributes;
|
|
348
|
+
/**
|
|
349
|
+
* The <ol> HTML element represents an ordered list of items — typically rendered as a numbered list.
|
|
350
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol
|
|
351
|
+
*/
|
|
352
|
+
ol: OlAttributes;
|
|
353
|
+
/**
|
|
354
|
+
* The <optgroup> HTML element creates a grouping of options within a <select> element.
|
|
355
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup
|
|
356
|
+
*/
|
|
357
|
+
optgroup: OptgroupAttributes;
|
|
358
|
+
/**
|
|
359
|
+
* The <option> HTML element is used to define an item contained in a <select>, an <optgroup>, or a <datalist> element. As such, <option> can represent menu items in popups and other lists of items in an HTML document.
|
|
360
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
|
|
361
|
+
*/
|
|
362
|
+
option: OptionAttributes;
|
|
363
|
+
/**
|
|
364
|
+
* The <output> HTML element is a container element into which a site or app can inject the results of a calculation or the outcome of a user action.
|
|
365
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output
|
|
366
|
+
*/
|
|
367
|
+
output: OutputAttributes;
|
|
368
|
+
/**
|
|
369
|
+
* The <p> HTML element represents a paragraph. Paragraphs are usually represented in visual media as blocks of text separated from adjacent blocks by blank lines and/or first-line indentation, but HTML paragraphs can be any structural grouping of related content, such as images or form fields.
|
|
370
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p
|
|
371
|
+
*/
|
|
372
|
+
p: PAttributes;
|
|
373
|
+
/**
|
|
374
|
+
* The <picture> HTML element contains zero or more <source> elements and one <img> element to offer alternative versions of an image for different display/device scenarios.
|
|
375
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
|
|
376
|
+
*/
|
|
377
|
+
picture: PictureAttributes;
|
|
378
|
+
/**
|
|
379
|
+
* The <pre> HTML element represents preformatted text which is to be presented exactly as written in the HTML file. The text is typically rendered using a non-proportional, or monospaced font.
|
|
380
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre
|
|
381
|
+
*/
|
|
382
|
+
pre: PreAttributes;
|
|
383
|
+
/**
|
|
384
|
+
* The <progress> HTML element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
|
|
385
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress
|
|
386
|
+
*/
|
|
387
|
+
progress: ProgressAttributes;
|
|
388
|
+
/**
|
|
389
|
+
* The <q> HTML element indicates that the enclosed text is a short inline quotation. Most modern browsers implement this by surrounding the text in quotation marks. This element is intended for short quotations that don't require paragraph breaks; for long quotations use the <blockquote> element.
|
|
390
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q
|
|
391
|
+
*/
|
|
392
|
+
q: QAttributes;
|
|
393
|
+
/**
|
|
394
|
+
* The <rp> HTML element is used to provide fall-back parentheses for browsers that do not support display of ruby annotations using the <ruby> element. One <rp> element should enclose each of the opening and closing parentheses that wrap the <rt> element that contains the annotation's text.
|
|
395
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp
|
|
396
|
+
*/
|
|
397
|
+
rp: RpAttributes;
|
|
398
|
+
/**
|
|
399
|
+
* The <rt> HTML element specifies the ruby text component of a ruby annotation, which is used to provide pronunciation, translation, or transliteration information for East Asian typography. The <rt> element must always be contained within a <ruby> element.
|
|
400
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt
|
|
401
|
+
*/
|
|
402
|
+
rt: RtAttributes;
|
|
403
|
+
/**
|
|
404
|
+
* The <ruby> HTML element represents small annotations that are rendered above, below, or next to base text, usually used for showing the pronunciation of East Asian characters. It can also be used for annotating other kinds of text, but this usage is less common.
|
|
405
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby
|
|
406
|
+
*/
|
|
407
|
+
ruby: RubyAttributes;
|
|
408
|
+
/**
|
|
409
|
+
* The <s> HTML element renders text with a strikethrough, or a line through it. Use the <s> element to represent things that are no longer relevant or no longer accurate. However, <s> is not appropriate when indicating document edits; for that, use the <del> and <ins> elements, as appropriate.
|
|
410
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s
|
|
411
|
+
*/
|
|
412
|
+
s: SAttributes;
|
|
413
|
+
/**
|
|
414
|
+
* The <samp> HTML element is used to enclose inline text which represents sample (or quoted) output from a computer program. Its contents are typically rendered using the browser's default monospaced font (such as Courier>) or Lucida Console).
|
|
415
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp
|
|
416
|
+
*/
|
|
417
|
+
samp: SampAttributes;
|
|
418
|
+
/**
|
|
419
|
+
* The <script> HTML element is used to embed executable code or data; this is typically used to embed or refer to JavaScript code. The <script> element can also be used with other languages, such as WebGL's GLSL shader programming language and JSON.
|
|
420
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
|
|
421
|
+
*/
|
|
422
|
+
script: ScriptAttributes;
|
|
423
|
+
/**
|
|
424
|
+
* The <search> HTML element is a container representing the parts of the document or application with form controls or other content related to performing a search or filtering operation. The <search> element semantically identifies the purpose of the element's contents as having search or filtering capabilities. The search or filtering functionality can be for the website or application, the current web page or document, or the entire Internet or subsection thereof.
|
|
425
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search
|
|
426
|
+
*/
|
|
427
|
+
search: SearchAttributes;
|
|
428
|
+
/**
|
|
429
|
+
* The <section> HTML element represents a generic standalone section of a document, which doesn't have a more specific semantic element to represent it. Sections should always have a heading, with very few exceptions.
|
|
430
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section
|
|
431
|
+
*/
|
|
432
|
+
section: SectionAttributes;
|
|
433
|
+
/**
|
|
434
|
+
* The <select> HTML element represents a control that provides a menu of options.
|
|
435
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
|
|
436
|
+
*/
|
|
437
|
+
select: SelectAttributes;
|
|
438
|
+
/**
|
|
439
|
+
* The <selectedcontent> HTML is used inside a <select> element to display the contents of its currently selected <option> within its first child <button>. This enables you to style all parts of a <select> element, referred to as "customizable selects".
|
|
440
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/selectedcontent
|
|
441
|
+
*/
|
|
442
|
+
selectedcontent: SelectedcontentAttributes;
|
|
443
|
+
/**
|
|
444
|
+
* The <slot> HTML element—part of the Web Components technology suite—is a placeholder inside a web component that you can fill with your own markup, which lets you create separate DOM trees and present them together.
|
|
445
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot
|
|
446
|
+
*/
|
|
447
|
+
slot: SlotAttributes;
|
|
448
|
+
/**
|
|
449
|
+
* The <small> HTML element represents side-comments and small print, like copyright and legal text, independent of its styled presentation. By default, it renders text within it one font-size smaller, such as from small to x-small.
|
|
450
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
|
|
451
|
+
*/
|
|
452
|
+
small: SmallAttributes;
|
|
453
|
+
/**
|
|
454
|
+
* The <source> HTML element specifies one or more media resources for the <picture>, <audio>, and <video> elements. It is a void element, which means that it has no content and does not require a closing tag. This element is commonly used to offer the same media content in multiple file formats in order to provide compatibility with a broad range of browsers given their differing support for image file formats and media file formats.
|
|
455
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source
|
|
456
|
+
*/
|
|
457
|
+
source: SourceAttributes;
|
|
458
|
+
/**
|
|
459
|
+
* The <span> HTML element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang. It should be used only when no other semantic element is appropriate. <span> is very much like a <div> element, but <div> is a block-level element whereas a <span> is an inline-level element.
|
|
460
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
|
|
461
|
+
*/
|
|
462
|
+
span: SpanAttributes;
|
|
463
|
+
/**
|
|
464
|
+
* The <strong> HTML element indicates that its contents have strong importance, seriousness, or urgency. Browsers typically render the contents in bold type.
|
|
465
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong
|
|
466
|
+
*/
|
|
467
|
+
strong: StrongAttributes;
|
|
468
|
+
/**
|
|
469
|
+
* The <style> HTML element contains style information for a document, or part of a document. It contains CSS, which is applied to the contents of the document containing the <style> element.
|
|
470
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style
|
|
471
|
+
*/
|
|
472
|
+
style: StyleAttributes;
|
|
473
|
+
/**
|
|
474
|
+
* The <sub> HTML element specifies inline text which should be displayed as subscript for solely typographical reasons. Subscripts are typically rendered with a lowered baseline using smaller text.
|
|
475
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub
|
|
476
|
+
*/
|
|
477
|
+
sub: SubAttributes;
|
|
478
|
+
/**
|
|
479
|
+
* The <summary> HTML element specifies a summary, caption, or legend for a <details> element's disclosure box. Clicking the <summary> element toggles the state of the parent <details> element open and closed.
|
|
480
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
|
|
481
|
+
*/
|
|
482
|
+
summary: SummaryAttributes;
|
|
483
|
+
/**
|
|
484
|
+
* The <sup> HTML element specifies inline text which is to be displayed as superscript for solely typographical reasons. Superscripts are usually rendered with a raised baseline using smaller text.
|
|
485
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup
|
|
486
|
+
*/
|
|
487
|
+
sup: SupAttributes;
|
|
488
|
+
/**
|
|
489
|
+
* The <table> HTML element represents tabular data—that is, information presented in a two-dimensional table comprised of rows and columns of cells containing data.
|
|
490
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
|
|
491
|
+
*/
|
|
492
|
+
table: TableAttributes;
|
|
493
|
+
/**
|
|
494
|
+
* The <tbody> HTML element encapsulates a set of table rows (<tr> elements), indicating that they comprise the body of a table's (main) data.
|
|
495
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
|
|
496
|
+
*/
|
|
497
|
+
tbody: TbodyAttributes;
|
|
498
|
+
/**
|
|
499
|
+
* The <td> HTML element defines a cell of a table that contains data and may be used as a child of the <tr> element.
|
|
500
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
|
|
501
|
+
*/
|
|
502
|
+
td: TdAttributes;
|
|
503
|
+
/**
|
|
504
|
+
* The <template> HTML element serves as a mechanism for holding HTML fragments, which can either be used later via JavaScript or generated immediately into shadow DOM.
|
|
505
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template
|
|
506
|
+
*/
|
|
507
|
+
template: TemplateAttributes;
|
|
508
|
+
/**
|
|
509
|
+
* The <textarea> HTML element represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form.
|
|
510
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
|
|
511
|
+
*/
|
|
512
|
+
textarea: TextareaAttributes;
|
|
513
|
+
/**
|
|
514
|
+
* The <tfoot> HTML element encapsulates a set of table rows (<tr> elements), indicating that they comprise the foot of a table with information about the table's columns. This is usually a summary of the columns, e.g., a sum of the given numbers in a column.
|
|
515
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot
|
|
516
|
+
*/
|
|
517
|
+
tfoot: TfootAttributes;
|
|
518
|
+
/**
|
|
519
|
+
* The <th> HTML element defines a cell as the header of a group of table cells and may be used as a child of the <tr> element. The exact nature of this group is defined by the scope and headers attributes.
|
|
520
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
|
|
521
|
+
*/
|
|
522
|
+
th: ThAttributes;
|
|
523
|
+
/**
|
|
524
|
+
* The <thead> HTML element encapsulates a set of table rows (<tr> elements), indicating that they comprise the head of a table with information about the table's columns. This is usually in the form of column headers (<th> elements).
|
|
525
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead
|
|
526
|
+
*/
|
|
527
|
+
thead: TheadAttributes;
|
|
528
|
+
/**
|
|
529
|
+
* The <time> HTML element represents a specific period in time. It may include the datetime attribute to translate dates into machine-readable format, allowing for better search engine results or custom features such as reminders.
|
|
530
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
|
|
531
|
+
*/
|
|
532
|
+
time: TimeAttributes;
|
|
533
|
+
/**
|
|
534
|
+
* The <title> HTML element defines the document's title that is shown in a browser's title bar or a page's tab. It only contains text; HTML tags within the element, if any, are also treated as plain text.
|
|
535
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title
|
|
536
|
+
*/
|
|
537
|
+
title: TitleAttributes;
|
|
538
|
+
/**
|
|
539
|
+
* The <tr> HTML element defines a row of cells in a table. The row's cells can then be established using a mix of <td> (data cell) and <th> (header cell) elements.
|
|
540
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr
|
|
541
|
+
*/
|
|
542
|
+
tr: TrAttributes;
|
|
543
|
+
/**
|
|
544
|
+
* The <track> HTML element is used as a child of the media elements, <audio> and <video>. Each track element lets you specify a timed text track (or time-based data) that can be displayed in parallel with the media element, for example to overlay subtitles or closed captions on top of a video or alongside audio tracks.
|
|
545
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track
|
|
546
|
+
*/
|
|
547
|
+
track: TrackAttributes;
|
|
548
|
+
/**
|
|
549
|
+
* The <u> HTML element represents a span of inline text which should be rendered in a way that indicates that it has a non-textual annotation. This is rendered by default as a single solid underline, but may be altered using CSS.
|
|
550
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u
|
|
551
|
+
*/
|
|
552
|
+
u: UAttributes;
|
|
553
|
+
/**
|
|
554
|
+
* The <ul> HTML element represents an unordered list of items, typically rendered as a bulleted list.
|
|
555
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul
|
|
556
|
+
*/
|
|
557
|
+
ul: UlAttributes;
|
|
558
|
+
/**
|
|
559
|
+
* The <var> HTML element represents the name of a variable in a mathematical expression or a programming context. It's typically presented using an italicized version of the current typeface, although that behavior is browser-dependent.
|
|
560
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var
|
|
561
|
+
*/
|
|
562
|
+
var: VarAttributes;
|
|
563
|
+
/**
|
|
564
|
+
* The <video> HTML element embeds a media player which supports video playback into the document. You can use <video> for audio content as well, but the <audio> element may provide a more appropriate user experience.
|
|
565
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
|
|
566
|
+
*/
|
|
567
|
+
video: VideoAttributes;
|
|
568
|
+
/**
|
|
569
|
+
* The <wbr> HTML element represents a word break opportunity—a position within text where the browser may optionally break a line, though its line-breaking rules would not otherwise create a break at that location.
|
|
570
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr
|
|
571
|
+
*/
|
|
572
|
+
wbr: WbrAttributes;
|
|
152
573
|
};
|