/
HTMLElementTagAttributeMap.ts
3627 lines (3243 loc) Β· 216 KB
/
HTMLElementTagAttributeMap.ts
1
2
3
4
5
6
7
8
9
10
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
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* eslint-disable id-denylist, max-lines */
/* This file is auto-generated. Don't edit manually */
import type { HTMLElementTagGlobalAttributes } from "./HTMLElementTagGlobalAttributes.js";
import type { ReadOnlyRecord } from "./ReadOnlyRecord.js";
/**
* Map of HTML element tag attributes.
*
* @category HTML
* @remarks
* If you need the type of the HTML attributes of an HTML element, this is it.
* @example
* ```typescript
* const getAttribute =
* <Tag extends keyof HTMLElementTagAttributeMap>(tag: Tag) =>
* (attribute: keyof HTMLElementTagAttributeMap[Tag]) => // β¦
* ```
* @see {@link HTMLElementTagGlobalAttributes}
* @see {@link ReadOnlyRecord}
*/
export type HTMLElementTagAttributeMap = ReadOnlyRecord<
`${string}-${string}`,
HTMLElementTagGlobalAttributes
> & {
/**
* If the a element has an href attribute, then it represents a hyperlink (a hypertext anchor) labeled by its contents.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/a)
*/
readonly a: HTMLElementTagGlobalAttributes & {
/**
* This attribute instructs browsers to download a URL instead of navigating to it, so the user will be prompted to save it as a local file. If the attribute has a value, it is used as the pre-filled file name in the Save prompt (the user can still change the file name if they want). There are no restrictions on allowed values, though `/` and `\` are converted to underscores. Most file systems limit some punctuation in file names, and browsers will adjust the suggested name accordingly.
*
* **Notes:**
*
* * This attribute only works for [same-origin URLs](https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy).
* * Although HTTP(s) URLs need to be in the same-origin, [`blob:` URLs](https://developer.mozilla.org/en-US/docs/Web/API/URL.createObjectURL) and [`data:` URLs](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs) are allowed so that content generated by JavaScript, such as pictures created in an image-editor Web app, can be downloaded.
* * If the HTTP header [`Content-Disposition:`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition) gives a different filename than this attribute, the HTTP header takes priority over this attribute.
* * If `Content-Disposition:` is set to `inline`, Firefox prioritizes `Content-Disposition`, like the filename case, while Chrome prioritizes the `download` attribute.
*/
readonly download?: string;
/**
* Contains a URL or a URL fragment that the hyperlink points to.
* A URL fragment is a name preceded by a hash mark (`#`), which specifies an internal target location (an [`id`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes#attr-id) of an HTML element) within the current document. URLs are not restricted to Web (HTTP)-based documents, but can use any protocol supported by the browser. For example, [`file:`](https://en.wikipedia.org/wiki/File_URI_scheme), `ftp:`, and `mailto:` work in most browsers.
*
* **Note:** You can use `href="#top"` or the empty fragment `href="#"` to link to the top of the current page. [This behavior is specified by HTML5](https://www.w3.org/TR/html5/single-page.html#scroll-to-fragid).
*/
readonly href?: string;
/**
* This attribute indicates the human language of the linked resource. It is purely advisory, with no built-in functionality. Allowed values are determined by [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt "Tags for Identifying Languages").
*/
readonly hreflang?: string;
/**
* Contains a space-separated list of URLs to which, when the hyperlink is followed, [`POST`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST "The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.") requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.
*/
readonly ping?: string;
/**
* Indicates which [referrer](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer) to send when fetching the URL:
*
* * `'no-referrer'` means the `Referer:` header will not be sent.
* * `'no-referrer-when-downgrade'` means no `Referer:` header will be sent when navigating to an origin without HTTPS. This is the default behavior.
* * `'origin'` means the referrer will be the [origin](https://developer.mozilla.org/en-US/docs/Glossary/Origin) of the page, not including information after the domain.
* * `'origin-when-cross-origin'` meaning that navigations to other origins will be limited to the scheme, the host and the port, while navigations on the same origin will include the referrer's path.
* * `'strict-origin-when-cross-origin'`
* * `'unsafe-url'` means the referrer will include the origin and path, but not the fragment, password, or username. This is unsafe because it can leak data from secure URLs to insecure ones.
*/
readonly referrerpolicy?: string;
/**
* Specifies the relationship of the target object to the link object. The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).
*/
readonly rel?: string;
/**
* Specifies where to display the linked URL. It is a name of, or keyword for, a _browsing context_: a tab, window, or `<iframe>`. The following keywords have special meanings:
*
* * `_self`: Load the URL into the same browsing context as the current one. This is the default behavior.
* * `_blank`: Load the URL into a new browsing context. This is usually a tab, but users can configure browsers to use new windows instead.
* * `_parent`: Load the URL into the parent browsing context of the current one. If there is no parent, this behaves the same way as `_self`.
* * `_top`: Load the URL into the top-level browsing context (that is, the "highest" browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this behaves the same way as `_self`.
*
* **Note:** When using `target`, consider adding `rel="noreferrer"` to avoid exploitation of the `window.opener` API.
*
* **Note:** Linking to another page using `target="_blank"` will run the new page on the same process as your page. If the new page is executing expensive JS, your page's performance may suffer. To avoid this use `rel="noopener"`.
*/
readonly target?: string;
/**
* Specifies the media type in the form of a [MIME type](https://developer.mozilla.org/en-US/docs/Glossary/MIME_type "MIME type: A MIME type (now properly called "media type", but also sometimes "content type") is a string sent along with a file indicating the type of the file (describing the content format, for example, a sound file might be labeled audio/ogg, or an image file image/png).") for the linked URL. It is purely advisory, with no built-in functionality.
*/
readonly type?: string;
};
/**
* The abbr element represents an abbreviation or acronym, optionally with its expansion. The title attribute may be used to provide an expansion of the abbreviation. The attribute, if specified, must contain an expansion of the abbreviation, and nothing else.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/abbr)
*/
readonly abbr: HTMLElementTagGlobalAttributes;
/**
* The address element represents the contact information for its nearest article or body element ancestor. If that is the body element, then the contact information applies to the document as a whole.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/address)
*/
readonly address: HTMLElementTagGlobalAttributes;
/**
* The area element represents either a hyperlink with some text and a corresponding area on an image map, or a dead area on an image map.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/area)
*/
readonly area: HTMLElementTagGlobalAttributes & {
/**
* Specifies a keyboard navigation accelerator for the element. Pressing ALT or a similar key in association with the specified character selects the form control correlated with that key sequence. Page designers are forewarned to avoid key sequences already bound to browsers. This attribute is global since HTML5.
*/
readonly accesskey?: string;
readonly alt?: string;
readonly coords?: string;
readonly download?: string;
readonly href?: string;
readonly hreflang?: string;
readonly ping?: string;
readonly rel?: string;
readonly shape?: string;
readonly target?: string;
readonly type?: string;
};
/**
* The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content. Each article should be identified, typically by including a heading (h1βh6 element) as a child of the article element.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/article)
*/
readonly article: HTMLElementTagGlobalAttributes;
/**
* The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/aside)
*/
readonly aside: HTMLElementTagGlobalAttributes;
/**
* An audio element represents a sound or audio stream.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/audio)
*/
readonly audio: HTMLElementTagGlobalAttributes & {
/**
* A Boolean attribute: if specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.
*
* **Note**: Sites that automatically play audio (or videos with an audio track) can be an unpleasant experience for users, so should be avoided when possible. If you must offer autoplay functionality, you should make it opt-in (requiring a user to specifically enable it). However, this can be useful when creating media elements whose source will be set at a later time, under user control.
*/
readonly autoplay?: string;
/**
* If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback.
*/
readonly controls?: string;
/**
* This enumerated attribute indicates whether to use CORS to fetch the related image. [CORS-enabled resources](https://developer.mozilla.org/en-US/docs/CORS_Enabled_Image) can be reused in the [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") element without being _tainted_. The allowed values are:
*
* anonymous
*
* Sends a cross-origin request without a credential. In other words, it sends the `Origin:` HTTP header without a cookie, X.509 certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (by not setting the `Access-Control-Allow-Origin:` HTTP header), the image will be _tainted_, and its usage restricted.
*
* use-credentials
*
* Sends a cross-origin request with a credential. In other words, it sends the `Origin:` HTTP header with a cookie, a certificate, or performing HTTP Basic authentication. If the server does not give credentials to the origin site (through `Access-Control-Allow-Credentials:` HTTP header), the image will be _tainted_ and its usage restricted.
*
* When not present, the resource is fetched without a CORS request (i.e. without sending the `Origin:` HTTP header), preventing its non-tainted used in [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas "Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.") elements. If invalid, it is handled as if the enumerated keyword **anonymous** was used. See [CORS settings attributes](https://developer.mozilla.org/en-US/docs/HTML/CORS_settings_attributes) for additional information.
*/
readonly crossorigin?: string;
/**
* A Boolean attribute: if specified, the audio player will automatically seek back to the start upon reaching the end of the audio.
*/
readonly loop?: string;
readonly mediagroup?: string;
/**
* A Boolean attribute that indicates whether the audio will be initially silenced. Its default value is `false`.
*/
readonly muted?: string;
/**
* This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:
*
* * `none`: Indicates that the audio should not be preloaded.
* * `metadata`: Indicates that only audio metadata (e.g. length) is fetched.
* * `auto`: Indicates that the whole audio file can be downloaded, even if the user is not expected to use it.
* * _empty string_: A synonym of the `auto` value.
*
* If not set, `preload`'s default value is browser-defined (i.e. each browser may have its own default value). The spec advises it to be set to `metadata`.
*
* **Usage notes:**
*
* * The `autoplay` attribute has precedence over `preload`. If `autoplay` is specified, the browser would obviously need to start downloading the audio for playback.
* * The browser is not forced by the specification to follow the value of this attribute; it is a mere hint.
*/
readonly preload?: string;
/**
* The URL of the audio to embed. This is subject to [HTTP access controls](https://developer.mozilla.org/en-US/docs/HTTP_access_control). This is optional; you may instead use the [`<source>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source "The HTML <source> element specifies multiple media resources for the <picture>, the <audio> element, or the <video> element.") element within the audio block to specify the audio to embed.
*/
readonly src?: string;
};
/**
* The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/b)
*/
readonly b: HTMLElementTagGlobalAttributes;
/**
* The base element allows authors to specify the document base URL for the purposes of resolving relative URLs, and the name of the default browsing context for the purposes of following hyperlinks. The element does not represent any content beyond this information.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/base)
*/
readonly base: HTMLElementTagGlobalAttributes & {
/**
* The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs. Absolute and relative URLs are allowed.
*/
readonly href?: string;
/**
* A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. It is a name of, or keyword for, a _browsing context_ (for example: tab, window, or inline frame). The following keywords have special meanings:
*
* * `_self`: Load the result into the same browsing context as the current one. This value is the default if the attribute is not specified.
* * `_blank`: Load the result into a new unnamed browsing context.
* * `_parent`: Load the result into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.
* * `_top`: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.
*
* If this attribute is specified, this element must come before any other elements with attributes whose values are URLs.
*/
readonly target?: string;
};
/**
* The bdi element represents a span of text that is to be isolated from its surroundings for the purposes of bidirectional text formatting. [BIDI]
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/bdi)
*/
readonly bdi: HTMLElementTagGlobalAttributes;
/**
* The bdo element represents explicit text directionality formatting control for its children. It allows authors to override the Unicode bidirectional algorithm by explicitly specifying a direction override. [BIDI]
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/bdo)
*/
readonly bdo: HTMLElementTagGlobalAttributes & {
/**
* The direction in which text should be rendered in this element's contents. Possible values are:
*
* * `ltr`: Indicates that the text should go in a left-to-right direction.
* * `rtl`: Indicates that the text should go in a right-to-left direction.
*/
readonly dir?: string;
};
/**
* The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/blockquote)
*/
readonly blockquote: HTMLElementTagGlobalAttributes & {
/**
* A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.
*/
readonly cite?: string;
};
/**
* The body element represents the content of the document.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/body)
*/
readonly body: HTMLElementTagGlobalAttributes & {
/**
* Color of text for hyperlinks when selected. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element's text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:active`](https://developer.mozilla.org/en-US/docs/Web/CSS/:active "The :active CSS pseudo-class represents an element (such as a button) that is being activated by the user.") pseudo-class instead._
*/
readonly alink?: string;
/**
* URI of a image to use as a background. _This method is non-conforming, use CSS [`background`](https://developer.mozilla.org/en-US/docs/Web/CSS/background "The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.") property on the element instead._
*/
readonly background?: string;
/**
* Background color for the document. _This method is non-conforming, use CSS [`background-color`](https://developer.mozilla.org/en-US/docs/Web/CSS/background-color "The background-color CSS property sets the background color of an element.") property on the element instead._
*/
readonly bgcolor?: string;
/**
* The margin of the bottom of the body. _This method is non-conforming, use CSS [`margin-bottom`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom "The margin-bottom CSS property sets the margin area on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._
*/
readonly bottommargin?: string;
/**
* The margin of the left of the body. _This method is non-conforming, use CSS [`margin-left`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left "The margin-left CSS property sets the margin area on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._
*/
readonly leftmargin?: string;
/**
* Color of text for unvisited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element's text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:link`](https://developer.mozilla.org/en-US/docs/Web/CSS/:link "The :link CSS pseudo-class represents an element that has not yet been visited. It matches every unvisited <a>, <area>, or <link> element that has an href attribute.") pseudo-class instead._
*/
readonly link?: string;
/**
* Function to call after the user has printed the document.
*/
readonly onafterprint?: string;
/**
* Function to call when the user requests printing of the document.
*/
readonly onbeforeprint?: string;
/**
* Function to call when the document is about to be unloaded.
*/
readonly onbeforeunload?: string;
/**
* Function to call when the document loses focus.
*/
readonly onblur?: string;
/**
* Function to call when the document fails to load properly.
*/
readonly onerror?: string;
/**
* Function to call when the document receives focus.
*/
readonly onfocus?: string;
/**
* Function to call when the fragment identifier part (starting with the hash (`'#'`) character) of the document's current address has changed.
*/
readonly onhashchange?: string;
/**
* Function to call when the preferred languages changed.
*/
readonly onlanguagechange?: string;
/**
* Function to call when the document has finished loading.
*/
readonly onload?: string;
/**
* Function to call when the document has received a message.
*/
readonly onmessage?: string;
/**
* Function to call when network communication has failed.
*/
readonly onoffline?: string;
/**
* Function to call when network communication has been restored.
*/
readonly ononline?: string;
readonly onpagehide?: string;
readonly onpageshow?: string;
/**
* Function to call when the user has navigated session history.
*/
readonly onpopstate?: string;
/**
* Function to call when the user has moved forward in undo transaction history.
*/
readonly onredo?: string;
/**
* Function to call when the document has been resized.
*/
readonly onresize?: string;
/**
* Function to call when the storage area has changed.
*/
readonly onstorage?: string;
/**
* Function to call when the user has moved backward in undo transaction history.
*/
readonly onundo?: string;
/**
* Function to call when the document is going away.
*/
readonly onunload?: string;
/**
* The margin of the right of the body. _This method is non-conforming, use CSS [`margin-right`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right "The margin-right CSS property sets the margin area on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._
*/
readonly rightmargin?: string;
/**
* Foreground color of text. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element's text and text decorations, and sets the currentcolor value.") property on the element instead._
*/
readonly text?: string;
/**
* The margin of the top of the body. _This method is non-conforming, use CSS [`margin-top`](https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top "The margin-top CSS property sets the margin area on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.") property on the element instead._
*/
readonly topmargin?: string;
/**
* Color of text for visited hypertext links. _This method is non-conforming, use CSS [`color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color "The color CSS property sets the foreground color value of an element's text and text decorations, and sets the currentcolor value.") property in conjunction with the [`:visited`](https://developer.mozilla.org/en-US/docs/Web/CSS/:visited "The :visited CSS pseudo-class represents links that the user has already visited. For privacy reasons, the styles that can be modified using this selector are very limited.") pseudo-class instead._
*/
readonly vlink?: string;
};
/**
* The br element represents a line break.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/br)
*/
readonly br: HTMLElementTagGlobalAttributes & {
/**
* Indicates where to begin the next line after the break.
*/
readonly clear?: string;
};
/**
* The button element represents a button labeled by its contents.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/button)
*/
readonly button: HTMLElementTagGlobalAttributes & {
/**
* The use of this attribute on a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") is nonstandard and Firefox-specific. By default, unlike other browsers, [Firefox persists the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Setting the value of this attribute to `off` (i.e. `autocomplete="off"`) disables this feature. See [bug 654072](https://bugzilla.mozilla.org/show_bug.cgi?id=654072 "if disabled state is changed with javascript, the normal state doesn't return after refreshing the page").
*/
readonly autocomplete?: string;
/**
* This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified.
*/
readonly autofocus?: string;
/**
* This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example [`<fieldset>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset "The HTML <fieldset> element is used to group several controls as well as labels (<label>) within a web form."); if there is no containing element with the **disabled** attribute set, then the button is enabled.
*
* Firefox will, unlike other browsers, by default, [persist the dynamic disabled state](https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing) of a [`<button>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button "The HTML <button> element represents a clickable button, which can be used in forms or anywhere in a document that needs simple, standard button functionality.") across page loads. Use the [`autocomplete`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-autocomplete) attribute to control this feature.
*/
readonly disabled?: string;
/**
* The form element that the button is associated with (its _form owner_). The value of the attribute must be the **id** attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element in the same document. If this attribute is not specified, the `<button>` element will be associated to an ancestor [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element, if one exists. This attribute enables you to associate `<button>` elements to [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements anywhere within a document, not just as descendants of [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") elements.
*/
readonly form?: string;
/**
* The URI of a program that processes the information submitted by the button. If specified, it overrides the [`action`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action) attribute of the button's form owner.
*/
readonly formaction?: string;
/**
* If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:
*
* * `application/x-www-form-urlencoded`: The default value if the attribute is not specified.
* * `multipart/form-data`: Use this value if you are using an [`<input>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input "The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent.") element with the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-type) attribute set to `file`.
* * `text/plain`
*
* If this attribute is specified, it overrides the [`enctype`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-enctype) attribute of the button's form owner.
*/
readonly formenctype?: string;
/**
* If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:
*
* * `post`: The data from the form are included in the body of the form and sent to the server.
* * `get`: The data from the form are appended to the **form** attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.
*
* If specified, this attribute overrides the [`method`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-method) attribute of the button's form owner.
*/
readonly formmethod?: string;
/**
* If the button is a submit button, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the [`novalidate`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-novalidate) attribute of the button's form owner.
*/
readonly formnovalidate?: string;
/**
* If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a _browsing context_ (for example, tab, window, or inline frame). If this attribute is specified, it overrides the [`target`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-target) attribute of the button's form owner. The following keywords have special meanings:
*
* * `_self`: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.
* * `_blank`: Load the response into a new unnamed browsing context.
* * `_parent`: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as `_self`.
* * `_top`: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as `_self`.
*/
readonly formtarget?: string;
/**
* The name of the button, which is submitted with the form data.
*/
readonly name?: string;
/**
* The type of the button. Possible values are:
*
* * `submit`: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.
* * `reset`: The button resets all the controls to their initial values.
* * `button`: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur.
*/
readonly type?: string;
/**
* The initial value of the button. It defines the value associated with the button which is submitted with the form data. This value is passed to the server in params when the form is submitted.
*/
readonly value?: string;
};
/**
* The canvas element provides scripts with a resolution-dependent bitmap canvas, which can be used for rendering graphs, game graphics, art, or other visual images on the fly.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/canvas)
*/
readonly canvas: HTMLElementTagGlobalAttributes & {
/**
* The height of the coordinate space in CSS pixels. Defaults to 150.
*/
readonly height?: string;
/**
* Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized. This is only supported by Mozilla-based browsers; use the standardized [`canvas.getContext('2d', { alpha: false })`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/getContext "The HTMLCanvasElement.getContext() method returns a drawing context on the canvas, or null if the context identifier is not supported.") instead.
*/
readonly "moz-opaque"?: string;
/**
* The width of the coordinate space in CSS pixels. Defaults to 300.
*/
readonly width?: string;
};
/**
* The caption element represents the title of the table that is its parent, if it has a parent and that is a table element.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/caption)
*/
readonly caption: HTMLElementTagGlobalAttributes & {
/**
* This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have one of the following values:
*
* `left`
*
* The caption is displayed to the left of the table.
*
* `top`
*
* The caption is displayed above the table.
*
* `right`
*
* The caption is displayed to the right of the table.
*
* `bottom`
*
* The caption is displayed below the table.
*
* **Usage note:** Do not use this attribute, as it has been deprecated. The [`<caption>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption "The HTML Table Caption element (<caption>) specifies the caption (or title) of a table, and if used is always the first child of a <table>.") element should be styled using the [CSS](https://developer.mozilla.org/en-US/docs/CSS) properties [`caption-side`](https://developer.mozilla.org/en-US/docs/Web/CSS/caption-side "The caption-side CSS property puts the content of a table's <caption> on the specified side. The values are relative to the writing-mode of the table.") and [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.").
*/
readonly align?: string;
};
/**
* The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, or a reference in abbreviated form as per the conventions used for the addition of citation metadata.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/cite)
*/
readonly cite: HTMLElementTagGlobalAttributes;
/**
* The code element represents a fragment of computer code. This could be an XML element name, a file name, a computer program, or any other string that a computer would recognize.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/code)
*/
readonly code: HTMLElementTagGlobalAttributes;
/**
* If a col element has a parent and that is a colgroup element that itself has a parent that is a table element, then the col element represents one or more columns in the column group represented by that colgroup.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/col)
*/
readonly col: HTMLElementTagGlobalAttributes & {
/**
* This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:
*
* * `left`, aligning the content to the left of the cell
* * `center`, centering the content in the cell
* * `right`, aligning the content to the right of the cell
* * `justify`, inserting spaces into the textual content so that the content is justified in the cell
* * `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).
*
* If this attribute is not set, its value is inherited from the [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-align) of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element this `<col>` element belongs too. If there are none, the `left` value is assumed.
*
* **Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.
*
* * To achieve the same effect as the `left`, `center`, `right` or `justify` values:
* * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") element, they won't inherit it.
* * If the table doesn't use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use the `td:nth-child(an+b)` CSS selector. Set `a` to zero and `b` to the position of the column in the table, e.g. `td:nth-child(2) { text-align: right; }` to right-align the second column.
* * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.
* * To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.
*/
readonly align?: string;
readonly span?: string;
};
/**
* The colgroup element represents a group of one or more columns in the table that is its parent, if it has a parent and that is a table element.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup)
*/
readonly colgroup: HTMLElementTagGlobalAttributes & {
/**
* This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:
*
* * `left`, aligning the content to the left of the cell
* * `center`, centering the content in the cell
* * `right`, aligning the content to the right of the cell
* * `justify`, inserting spaces into the textual content so that the content is justified in the cell
* * `char`, aligning the textual content on a special character with a minimal offset, defined by the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-char) and [`charoff`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-charoff) attributes Unimplemented (see [bug 2212](https://bugzilla.mozilla.org/show_bug.cgi?id=2212 "character alignment not implemented (align=char, charoff=, text-align:<string>)")).
*
* If this attribute is not set, the `left` value is assumed. The descendant [`<col>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col "The HTML <col> element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.") elements may override this value using their own [`align`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col#attr-align) attribute.
*
* **Note:** Do not use this attribute as it is obsolete (not supported) in the latest standard.
*
* * To achieve the same effect as the `left`, `center`, `right` or `justify` values:
* * Do not try to set the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property on a selector giving a [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element. Because [`<td>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td "The HTML <td> element defines a cell of a table that contains data. It participates in the table model.") elements are not descendant of the [`<colgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup "The HTML <colgroup> element defines a group of columns within a table.") element, they won't inherit it.
* * If the table doesn't use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, use one `td:nth-child(an+b)` CSS selector per column, where a is the total number of the columns in the table and b is the ordinal position of this column in the table. Only after this selector the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property can be used.
* * If the table does use a [`colspan`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td#attr-colspan) attribute, the effect can be achieved by combining adequate CSS attribute selectors like `[colspan=n]`, though this is not trivial.
* * To achieve the same effect as the `char` value, in CSS3, you can use the value of the [`char`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup#attr-char) as the value of the [`text-align`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align "The text-align CSS property sets the horizontal alignment of an inline or table-cell box. This means it works like vertical-align but in the horizontal direction.") property Unimplemented.
*/
readonly align?: string;
readonly span?: string;
};
/**
* The data element links a given piece of content with a machine-readable translation.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/data)
*/
readonly data: HTMLElementTagGlobalAttributes & {
/**
* This attribute specifies the machine-readable translation of the content of the element.
*/
readonly value?: string;
};
/**
* The datalist element represents a set of option elements that represent predefined options for other controls. In the rendering, the datalist element represents nothing and it, along with its children, should be hidden.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/datalist)
*/
readonly datalist: HTMLElementTagGlobalAttributes;
/**
* The dd element represents the description, definition, or value, part of a term-description group in a description list (dl element).
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dd)
*/
readonly dd: HTMLElementTagGlobalAttributes & {
/**
* If the value of this attribute is set to `yes`, the definition text will not wrap. The default value is `no`.
*/
readonly nowrap?: string;
};
/**
* The del element represents a removal from the document.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/del)
*/
readonly del: HTMLElementTagGlobalAttributes & {
/**
* A URI for a resource that explains the change (for example, meeting minutes).
*/
readonly cite?: string;
/**
* This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see [Format of a valid date string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_date_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article."). The format of the string if it includes both date and time is covered in [Format of a valid local date and time string](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats#Format_of_a_valid_local_date_and_time_string "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.") in [Date and time formats used in HTML](https://developer.mozilla.org/en-US/docs/Web/HTML/Date_and_time_formats "Certain HTML elements use date and/or time values. The formats of the strings that specify these are described in this article.").
*/
readonly datetime?: string;
};
/**
* The details element represents a disclosure widget from which the user can obtain additional information or controls.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/details)
*/
readonly details: HTMLElementTagGlobalAttributes & {
/**
* This Boolean attribute indicates whether or not the details β that is, the contents of the `<details>` element β are currently visible. The default, `false`, means the details are not visible.
*/
readonly open?: string;
};
/**
* The dfn element represents the defining instance of a term. The paragraph, description list group, or section that is the nearest ancestor of the dfn element must also contain the definition(s) for the term given by the dfn element.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dfn)
*/
readonly dfn: HTMLElementTagGlobalAttributes;
/**
* The dialog element represents a part of an application that a user interacts with to perform a task, for example a dialog box, inspector, or window.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dialog)
*/
readonly dialog: HTMLElementTagGlobalAttributes & {
/**
* Indicates that the dialog is active and available for interaction. When the `open` attribute is not set, the dialog shouldn't be shown to the user.
*/
readonly open?: string;
};
/**
* The div element has no special meaning at all. It represents its children. It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/div)
*/
readonly div: HTMLElementTagGlobalAttributes;
/**
* The dl element represents an association list consisting of zero or more name-value groups (a description list). A name-value group consists of one or more names (dt elements) followed by one or more values (dd elements), ignoring any nodes other than dt and dd elements. Within a single dl element, there should not be more than one dt element for each name.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dl)
*/
readonly dl: HTMLElementTagGlobalAttributes;
/**
* The dt element represents the term, or name, part of a term-description group in a description list (dl element).
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dt)
*/
readonly dt: HTMLElementTagGlobalAttributes;
/**
* The em element represents stress emphasis of its contents.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/em)
*/
readonly em: HTMLElementTagGlobalAttributes;
/**
* The embed element provides an integration point for an external (typically non-HTML) application or interactive content.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/embed)
*/
readonly embed: HTMLElementTagGlobalAttributes & {
/**
* The displayed height of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed.
*/
readonly height?: string;
/**
* The URL of the resource being embedded.
*/
readonly src?: string;
/**
* The MIME type to use to select the plug-in to instantiate.
*/
readonly type?: string;
/**
* The displayed width of the resource, in [CSS pixels](https://drafts.csswg.org/css-values/#px). This must be an absolute value; percentages are _not_ allowed.
*/
readonly width?: string;
};
/**
* The fieldset element represents a set of form controls optionally grouped under a common name.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/fieldset)
*/
readonly fieldset: HTMLElementTagGlobalAttributes & {
/**
* If this Boolean attribute is set, all form controls that are descendants of the `<fieldset>`, are disabled, meaning they are not editable and won't be submitted along with the `<form>`. They won't receive any browsing events, like mouse clicks or focus-related events. By default browsers display such controls grayed out. Note that form elements inside the [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element won't be disabled.
*/
readonly disabled?: string;
/**
* This attribute takes the value of the `id` attribute of a [`<form>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form "The HTML <form> element represents a document section that contains interactive controls for submitting information to a web server.") element you want the `<fieldset>` to be part of, even if it is not inside the form.
*/
readonly form?: string;
/**
* The name associated with the group.
*
* **Note**: The caption for the fieldset is given by the first [`<legend>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend "The HTML <legend> element represents a caption for the content of its parent <fieldset>.") element nested inside it.
*/
readonly name?: string;
};
/**
* The figcaption element represents a caption or legend for the rest of the contents of the figcaption element's parent figure element, if any.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/figcaption)
*/
readonly figcaption: HTMLElementTagGlobalAttributes;
/**
* The figure element represents some flow content, optionally with a caption, that is self-contained (like a complete sentence) and is typically referenced as a single unit from the main flow of the document.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/figure)
*/
readonly figure: HTMLElementTagGlobalAttributes;
/**
* The footer element represents a footer for its nearest ancestor sectioning content or sectioning root element. A footer typically contains information about its section such as who wrote it, links to related documents, copyright data, and the like.
*
* ---
*
* **References**
*
* @see [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/footer)
*/
readonly footer: HTMLElementTagGlobalAttributes;
/**
* The form element represents a collection of form-associated elements, some of which can represent editable values that can be submitted to a server for processing.
*
* ---