phlex 2.0.0.beta2 → 2.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -11
- data/lib/phlex/context.rb +3 -2
- data/lib/phlex/csv.rb +4 -11
- data/lib/phlex/error.rb +1 -0
- data/lib/phlex/fifo.rb +1 -0
- data/lib/phlex/helpers.rb +1 -1
- data/lib/phlex/html/standard_elements.rb +1033 -722
- data/lib/phlex/html/void_elements.rb +94 -56
- data/lib/phlex/html.rb +1 -7
- data/lib/phlex/kit.rb +23 -11
- data/lib/phlex/{elements.rb → sgml/elements.rb} +10 -36
- data/lib/phlex/sgml.rb +221 -263
- data/lib/phlex/svg/standard_elements.rb +480 -449
- data/lib/phlex/svg.rb +0 -3
- data/lib/phlex/{black_hole.rb → vanish.rb} +1 -1
- data/lib/phlex/version.rb +1 -1
- data/lib/phlex.rb +2 -5
- metadata +5 -7
- data/lib/phlex/deferred_render.rb +0 -29
- data/lib/phlex/element_clobbering_guard.rb +0 -18
@@ -2,726 +2,1037 @@
|
|
2
2
|
|
3
3
|
# Standard HTML elements accept content and always have a closing tag.
|
4
4
|
module Phlex::HTML::StandardElements
|
5
|
-
extend Phlex::Elements
|
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
|
-
register_element
|
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
|
-
register_element
|
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
|
-
register_element
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
#
|
232
|
-
#
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
#
|
242
|
-
#
|
243
|
-
register_element
|
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
|
-
register_element
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
#
|
310
|
-
#
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
#
|
319
|
-
#
|
320
|
-
register_element
|
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
|
-
register_element
|
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
|
-
register_element
|
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
|
-
register_element
|
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
|
-
register_element
|
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
|
-
register_element
|
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
|
-
register_element
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
5
|
+
extend Phlex::SGML::Elements
|
6
|
+
|
7
|
+
# Outputs an `<a>` tag.
|
8
|
+
# The `<a>` element creates a hyperlink to web pages, files, email addresses, locations in the same page, or anything else a URL can address.
|
9
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/a
|
10
|
+
register_element def a(
|
11
|
+
class: nil,
|
12
|
+
href: nil,
|
13
|
+
id: nil,
|
14
|
+
rel: nil,
|
15
|
+
target: nil,
|
16
|
+
title: nil,
|
17
|
+
**attributes,
|
18
|
+
&content
|
19
|
+
) = nil
|
20
|
+
|
21
|
+
# Outputs an `<abbr>` tag.
|
22
|
+
# The `<abbr>` element represents an abbreviation or acronym.
|
23
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/abbr
|
24
|
+
register_element def abbr(
|
25
|
+
class: nil,
|
26
|
+
id: nil,
|
27
|
+
title: nil,
|
28
|
+
**attributes,
|
29
|
+
&content
|
30
|
+
) = nil
|
31
|
+
|
32
|
+
# Outputs an `<address>` tag.
|
33
|
+
# The `<address>` element indicates contact information for a person or organization.
|
34
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/address
|
35
|
+
register_element def address(
|
36
|
+
class: nil,
|
37
|
+
id: nil,
|
38
|
+
**attributes,
|
39
|
+
&content
|
40
|
+
) = nil
|
41
|
+
|
42
|
+
# Outputs an `<article>` tag.
|
43
|
+
# The `<article>` element represents a self-contained composition in a document, page, application, or site.
|
44
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/article
|
45
|
+
register_element def article(
|
46
|
+
class: nil,
|
47
|
+
id: nil,
|
48
|
+
**attributes,
|
49
|
+
&content
|
50
|
+
) = nil
|
51
|
+
|
52
|
+
# Outputs an `<aside>` tag.
|
53
|
+
# The `<aside>` element represents a section of a page that consists of content that is tangentially related to the content around the aside element.
|
54
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/aside
|
55
|
+
register_element def aside(
|
56
|
+
class: nil,
|
57
|
+
id: nil,
|
58
|
+
**attributes,
|
59
|
+
&content
|
60
|
+
) = nil
|
61
|
+
|
62
|
+
# Outputs an `<audio>` tag.
|
63
|
+
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
|
64
|
+
register_element def audio(
|
65
|
+
autoplay: nil,
|
66
|
+
class: nil,
|
67
|
+
controls: nil,
|
68
|
+
id: nil,
|
69
|
+
loop: nil,
|
70
|
+
src: nil,
|
71
|
+
**attributes,
|
72
|
+
&content
|
73
|
+
) = nil
|
74
|
+
|
75
|
+
# Outputs a `<b>` tag.
|
76
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/b
|
77
|
+
register_element def b(
|
78
|
+
class: nil,
|
79
|
+
id: nil,
|
80
|
+
**attributes,
|
81
|
+
&content
|
82
|
+
) = nil
|
83
|
+
|
84
|
+
# Outputs a `<bdi>` tag.
|
85
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/bdi
|
86
|
+
register_element def bdi(
|
87
|
+
class: nil,
|
88
|
+
id: nil,
|
89
|
+
**attributes,
|
90
|
+
&content
|
91
|
+
) = nil
|
92
|
+
|
93
|
+
# Outputs a `<bdo>` tag.
|
94
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/bdo
|
95
|
+
register_element def bdo(
|
96
|
+
class: nil,
|
97
|
+
dir: nil,
|
98
|
+
id: nil,
|
99
|
+
**attributes,
|
100
|
+
&content
|
101
|
+
) = nil
|
102
|
+
|
103
|
+
# Outputs a `<blockquote>` tag.
|
104
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/blockquote
|
105
|
+
register_element def blockquote(
|
106
|
+
cite: nil,
|
107
|
+
class: nil,
|
108
|
+
id: nil,
|
109
|
+
**attributes,
|
110
|
+
&content
|
111
|
+
) = nil
|
112
|
+
|
113
|
+
# Outputs a `<body>` tag.
|
114
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/body
|
115
|
+
register_element def body(
|
116
|
+
class: nil,
|
117
|
+
id: nil,
|
118
|
+
**attributes,
|
119
|
+
&content
|
120
|
+
) = nil
|
121
|
+
|
122
|
+
# Outputs a `<button>` tag.
|
123
|
+
# The `<button>` element is an interactive element activated by a user with a mouse, keyboard, finger, voice command, or other assistive technology to perform an action, such as submitting a form or opening a dialog.
|
124
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/button
|
125
|
+
register_element def button(
|
126
|
+
autofocus: nil,
|
127
|
+
class: nil,
|
128
|
+
disabled: nil,
|
129
|
+
form: nil,
|
130
|
+
formaction: nil,
|
131
|
+
formmethod: nil,
|
132
|
+
formtarget: nil,
|
133
|
+
formvalidate: nil,
|
134
|
+
id: nil,
|
135
|
+
name: nil,
|
136
|
+
popovertarget: nil,
|
137
|
+
popovertargetaction: nil,
|
138
|
+
type: nil,
|
139
|
+
value: nil,
|
140
|
+
**attributes,
|
141
|
+
&content
|
142
|
+
) = nil
|
143
|
+
|
144
|
+
# Outputs a `<canvas>` tag.
|
145
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/canvas
|
146
|
+
register_element def canvas(
|
147
|
+
class: nil,
|
148
|
+
height: nil,
|
149
|
+
id: nil,
|
150
|
+
width: nil,
|
151
|
+
**attributes,
|
152
|
+
&content
|
153
|
+
) = nil
|
154
|
+
|
155
|
+
# Outputs a `<caption>` tag.
|
156
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/caption
|
157
|
+
register_element def caption(
|
158
|
+
class: nil,
|
159
|
+
id: nil,
|
160
|
+
**attributes,
|
161
|
+
&content
|
162
|
+
) = nil
|
163
|
+
|
164
|
+
# Outputs a `<cite>` tag.
|
165
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/cite
|
166
|
+
register_element def cite(
|
167
|
+
class: nil,
|
168
|
+
id: nil,
|
169
|
+
**attributes,
|
170
|
+
&content
|
171
|
+
) = nil
|
172
|
+
|
173
|
+
# Outputs a `<code>` tag.
|
174
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/code
|
175
|
+
register_element def code(
|
176
|
+
class: nil,
|
177
|
+
id: nil,
|
178
|
+
**attributes,
|
179
|
+
&content
|
180
|
+
) = nil
|
181
|
+
|
182
|
+
# Outputs a `<colgroup>` tag.
|
183
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/colgroup
|
184
|
+
register_element def colgroup(
|
185
|
+
class: nil,
|
186
|
+
id: nil,
|
187
|
+
span: nil,
|
188
|
+
**attributes,
|
189
|
+
&content
|
190
|
+
) = nil
|
191
|
+
|
192
|
+
# Outputs a `<data>` tag.
|
193
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/data
|
194
|
+
register_element def data(
|
195
|
+
class: nil,
|
196
|
+
id: nil,
|
197
|
+
value: nil,
|
198
|
+
**attributes,
|
199
|
+
&content
|
200
|
+
) = nil
|
201
|
+
|
202
|
+
# Outputs a `<datalist>` tag.
|
203
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/datalist
|
204
|
+
register_element def datalist(
|
205
|
+
class: nil,
|
206
|
+
id: nil,
|
207
|
+
**attributes,
|
208
|
+
&content
|
209
|
+
) = nil
|
210
|
+
|
211
|
+
# Outputs a `<dd>` tag.
|
212
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/dd
|
213
|
+
register_element def dd(
|
214
|
+
class: nil,
|
215
|
+
id: nil,
|
216
|
+
**attributes,
|
217
|
+
&content
|
218
|
+
) = nil
|
219
|
+
|
220
|
+
# Outputs a `<del>` tag.
|
221
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/del
|
222
|
+
register_element def del(
|
223
|
+
cite: nil,
|
224
|
+
class: nil,
|
225
|
+
datetime: nil,
|
226
|
+
id: nil,
|
227
|
+
**attributes,
|
228
|
+
&content
|
229
|
+
) = nil
|
230
|
+
|
231
|
+
# Outputs a `<details>` tag.
|
232
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/details
|
233
|
+
register_element def details(
|
234
|
+
class: nil,
|
235
|
+
id: nil,
|
236
|
+
open: nil,
|
237
|
+
**attributes,
|
238
|
+
&content
|
239
|
+
) = nil
|
240
|
+
|
241
|
+
# Outputs a `<dfn>` tag.
|
242
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/dfn
|
243
|
+
register_element def dfn(
|
244
|
+
class: nil,
|
245
|
+
id: nil,
|
246
|
+
title: nil,
|
247
|
+
**attributes,
|
248
|
+
&content
|
249
|
+
) = nil
|
250
|
+
|
251
|
+
# Outputs a `<dialog>` tag.
|
252
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/dialog
|
253
|
+
register_element def dialog(
|
254
|
+
class: nil,
|
255
|
+
id: nil,
|
256
|
+
open: nil,
|
257
|
+
**attributes,
|
258
|
+
&content
|
259
|
+
) = nil
|
260
|
+
|
261
|
+
# Outputs a `<div>` tag.
|
262
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/div
|
263
|
+
register_element def div(
|
264
|
+
class: nil,
|
265
|
+
id: nil,
|
266
|
+
**attributes,
|
267
|
+
&content
|
268
|
+
) = nil
|
269
|
+
|
270
|
+
# Outputs a `<dl>` tag.
|
271
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/dl
|
272
|
+
register_element def dl(
|
273
|
+
class: nil,
|
274
|
+
id: nil,
|
275
|
+
**attributes,
|
276
|
+
&content
|
277
|
+
) = nil
|
278
|
+
|
279
|
+
# Outputs a `<dt>` tag.
|
280
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/dt
|
281
|
+
register_element def dt(
|
282
|
+
class: nil,
|
283
|
+
id: nil,
|
284
|
+
**attributes,
|
285
|
+
&content
|
286
|
+
) = nil
|
287
|
+
|
288
|
+
# Outputs an `<em>` tag.
|
289
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/em
|
290
|
+
register_element def em(
|
291
|
+
class: nil,
|
292
|
+
id: nil,
|
293
|
+
**attributes,
|
294
|
+
&content
|
295
|
+
) = nil
|
296
|
+
|
297
|
+
# Outputs a `<fieldset>` tag.
|
298
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/fieldset
|
299
|
+
register_element def fieldset(
|
300
|
+
class: nil,
|
301
|
+
disabled: nil,
|
302
|
+
form: nil,
|
303
|
+
id: nil,
|
304
|
+
name: nil,
|
305
|
+
**attributes,
|
306
|
+
&content
|
307
|
+
) = nil
|
308
|
+
|
309
|
+
# Outputs a `<figcaption>` tag.
|
310
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/figcaption
|
311
|
+
register_element def figcaption(
|
312
|
+
class: nil,
|
313
|
+
id: nil,
|
314
|
+
**attributes,
|
315
|
+
&content
|
316
|
+
) = nil
|
317
|
+
|
318
|
+
# Outputs a `<figure>` tag.
|
319
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/figure
|
320
|
+
register_element def figure(
|
321
|
+
class: nil,
|
322
|
+
id: nil,
|
323
|
+
**attributes,
|
324
|
+
&content
|
325
|
+
) = nil
|
326
|
+
|
327
|
+
# Outputs a `<footer>` tag.
|
328
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/footer
|
329
|
+
register_element def footer(
|
330
|
+
class: nil,
|
331
|
+
id: nil,
|
332
|
+
**attributes,
|
333
|
+
&content
|
334
|
+
) = nil
|
335
|
+
|
336
|
+
# Outputs a `<form>` tag.
|
337
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/form
|
338
|
+
register_element def form(
|
339
|
+
action: nil,
|
340
|
+
class: nil,
|
341
|
+
enctype: nil,
|
342
|
+
id: nil,
|
343
|
+
method: nil,
|
344
|
+
**attributes,
|
345
|
+
&content
|
346
|
+
) = nil
|
347
|
+
|
348
|
+
# Outputs an `<h1>` tag.
|
349
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/h1
|
350
|
+
register_element def h1(
|
351
|
+
class: nil,
|
352
|
+
id: nil,
|
353
|
+
**attributes,
|
354
|
+
&content
|
355
|
+
) = nil
|
356
|
+
|
357
|
+
# Outputs an `<h2>` tag.
|
358
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/h2
|
359
|
+
register_element def h2(
|
360
|
+
class: nil,
|
361
|
+
id: nil,
|
362
|
+
**attributes,
|
363
|
+
&content
|
364
|
+
) = nil
|
365
|
+
|
366
|
+
# Outputs an `<h3>` tag.
|
367
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/h3
|
368
|
+
register_element def h3(
|
369
|
+
class: nil,
|
370
|
+
id: nil,
|
371
|
+
**attributes,
|
372
|
+
&content
|
373
|
+
) = nil
|
374
|
+
|
375
|
+
# Outputs an `<h4>` tag.
|
376
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/h4
|
377
|
+
register_element def h4(
|
378
|
+
class: nil,
|
379
|
+
id: nil,
|
380
|
+
**attributes,
|
381
|
+
&content
|
382
|
+
) = nil
|
383
|
+
|
384
|
+
# Outputs an `<h5>` tag.
|
385
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/h5
|
386
|
+
register_element def h5(
|
387
|
+
class: nil,
|
388
|
+
id: nil,
|
389
|
+
**attributes,
|
390
|
+
&content
|
391
|
+
) = nil
|
392
|
+
|
393
|
+
# Outputs an `<h6>` tag.
|
394
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/h6
|
395
|
+
register_element def h6(
|
396
|
+
class: nil,
|
397
|
+
id: nil,
|
398
|
+
**attributes,
|
399
|
+
&content
|
400
|
+
) = nil
|
401
|
+
|
402
|
+
# Outputs a `<head>` tag.
|
403
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/head
|
404
|
+
register_element def head(
|
405
|
+
class: nil,
|
406
|
+
id: nil,
|
407
|
+
**attributes,
|
408
|
+
&content
|
409
|
+
) = nil
|
410
|
+
|
411
|
+
# Outputs a `<header>` tag.
|
412
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/header
|
413
|
+
register_element def header(
|
414
|
+
class: nil,
|
415
|
+
id: nil,
|
416
|
+
**attributes,
|
417
|
+
&content
|
418
|
+
) = nil
|
419
|
+
|
420
|
+
# Outputs an `<hgroup>` tag.
|
421
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/hgroup
|
422
|
+
register_element def hgroup(
|
423
|
+
class: nil,
|
424
|
+
id: nil,
|
425
|
+
**attributes,
|
426
|
+
&content
|
427
|
+
) = nil
|
428
|
+
|
429
|
+
# Outputs an `<html>` tag.
|
430
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/html
|
431
|
+
register_element def html(
|
432
|
+
class: nil,
|
433
|
+
id: nil,
|
434
|
+
lang: nil,
|
435
|
+
**attributes,
|
436
|
+
&content
|
437
|
+
) = nil
|
438
|
+
|
439
|
+
# Outputs an `<i>` tag.
|
440
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/i
|
441
|
+
register_element def i(
|
442
|
+
class: nil,
|
443
|
+
id: nil,
|
444
|
+
**attributes,
|
445
|
+
&content
|
446
|
+
) = nil
|
447
|
+
|
448
|
+
# Outputs an `<iframe>` tag.
|
449
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/iframe
|
450
|
+
register_element def iframe(
|
451
|
+
class: nil,
|
452
|
+
height: nil,
|
453
|
+
id: nil,
|
454
|
+
name: nil,
|
455
|
+
src: nil,
|
456
|
+
srcdoc: nil,
|
457
|
+
width: nil,
|
458
|
+
**attributes,
|
459
|
+
&content
|
460
|
+
) = nil
|
461
|
+
|
462
|
+
# Outputs an `<ins>` tag.
|
463
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/ins
|
464
|
+
register_element def ins(
|
465
|
+
cite: nil,
|
466
|
+
class: nil,
|
467
|
+
datetime: nil,
|
468
|
+
id: nil,
|
469
|
+
**attributes,
|
470
|
+
&content
|
471
|
+
) = nil
|
472
|
+
|
473
|
+
# Outputs a `<kbd>` tag.
|
474
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/kbd
|
475
|
+
register_element def kbd(
|
476
|
+
class: nil,
|
477
|
+
id: nil,
|
478
|
+
**attributes,
|
479
|
+
&content
|
480
|
+
) = nil
|
481
|
+
|
482
|
+
# Outputs a `<label>` tag.
|
483
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/label
|
484
|
+
register_element def label(
|
485
|
+
class: nil,
|
486
|
+
for: nil,
|
487
|
+
form: nil,
|
488
|
+
id: nil,
|
489
|
+
**attributes,
|
490
|
+
&content
|
491
|
+
) = nil
|
492
|
+
|
493
|
+
# Outputs a `<legend>` tag.
|
494
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/legend
|
495
|
+
register_element def legend(
|
496
|
+
class: nil,
|
497
|
+
id: nil,
|
498
|
+
**attributes,
|
499
|
+
&content
|
500
|
+
) = nil
|
501
|
+
|
502
|
+
# Outputs a `<li>` tag.
|
503
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/li
|
504
|
+
register_element def li(
|
505
|
+
class: nil,
|
506
|
+
id: nil,
|
507
|
+
value: nil,
|
508
|
+
**attributes,
|
509
|
+
&content
|
510
|
+
) = nil
|
511
|
+
|
512
|
+
# Outputs a `<main>` tag.
|
513
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/main
|
514
|
+
register_element def main(
|
515
|
+
class: nil,
|
516
|
+
id: nil,
|
517
|
+
**attributes,
|
518
|
+
&content
|
519
|
+
) = nil
|
520
|
+
|
521
|
+
# Outputs a `<map>` tag.
|
522
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/map
|
523
|
+
register_element def map(
|
524
|
+
class: nil,
|
525
|
+
id: nil,
|
526
|
+
name: nil,
|
527
|
+
**attributes,
|
528
|
+
&content
|
529
|
+
) = nil
|
530
|
+
|
531
|
+
# Outputs a `<mark>` tag.
|
532
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/mark
|
533
|
+
register_element def mark(
|
534
|
+
class: nil,
|
535
|
+
id: nil,
|
536
|
+
**attributes,
|
537
|
+
&content
|
538
|
+
) = nil
|
539
|
+
|
540
|
+
# Outputs a `<menu>` tag.
|
541
|
+
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu
|
542
|
+
register_element def menu(
|
543
|
+
class: nil,
|
544
|
+
id: nil,
|
545
|
+
type: nil,
|
546
|
+
**attributes,
|
547
|
+
&content
|
548
|
+
) = nil
|
549
|
+
|
550
|
+
# Outputs a `<meter>` tag.
|
551
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/meter
|
552
|
+
register_element def meter(
|
553
|
+
class: nil,
|
554
|
+
high: nil,
|
555
|
+
id: nil,
|
556
|
+
low: nil,
|
557
|
+
max: nil,
|
558
|
+
min: nil,
|
559
|
+
optimum: nil,
|
560
|
+
value: nil,
|
561
|
+
**attributes,
|
562
|
+
&content
|
563
|
+
) = nil
|
564
|
+
|
565
|
+
# Outputs a `<nav>` tag.
|
566
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/nav
|
567
|
+
register_element def nav(
|
568
|
+
class: nil,
|
569
|
+
id: nil,
|
570
|
+
**attributes,
|
571
|
+
&content
|
572
|
+
) = nil
|
573
|
+
|
574
|
+
# Outputs a `<noscript>` tag.
|
575
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/noscript
|
576
|
+
register_element def noscript(
|
577
|
+
class: nil,
|
578
|
+
id: nil,
|
579
|
+
**attributes,
|
580
|
+
&content
|
581
|
+
) = nil
|
582
|
+
|
583
|
+
# Outputs an `<object>` tag.
|
584
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/object
|
585
|
+
register_element def object(
|
586
|
+
class: nil,
|
587
|
+
data: nil,
|
588
|
+
height: nil,
|
589
|
+
id: nil,
|
590
|
+
type: nil,
|
591
|
+
width: nil,
|
592
|
+
**attributes,
|
593
|
+
&content
|
594
|
+
) = nil
|
595
|
+
|
596
|
+
# Outputs an `<ol>` tag.
|
597
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/ol
|
598
|
+
register_element def ol(
|
599
|
+
class: nil,
|
600
|
+
id: nil,
|
601
|
+
reversed: nil,
|
602
|
+
start: nil,
|
603
|
+
type: nil,
|
604
|
+
**attributes,
|
605
|
+
&content
|
606
|
+
) = nil
|
607
|
+
|
608
|
+
# Outputs an `<optgroup>` tag.
|
609
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/optgroup
|
610
|
+
register_element def optgroup(
|
611
|
+
class: nil,
|
612
|
+
disabled: nil,
|
613
|
+
id: nil,
|
614
|
+
label: nil,
|
615
|
+
**attributes,
|
616
|
+
&content
|
617
|
+
) = nil
|
618
|
+
|
619
|
+
# Outputs an `<option>` tag.
|
620
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/option
|
621
|
+
register_element def option(
|
622
|
+
class: nil,
|
623
|
+
disabled: nil,
|
624
|
+
id: nil,
|
625
|
+
selected: nil,
|
626
|
+
value: nil,
|
627
|
+
**attributes,
|
628
|
+
&content
|
629
|
+
) = nil
|
630
|
+
|
631
|
+
# Outputs an `<output>` tag.
|
632
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/output
|
633
|
+
register_element def output(
|
634
|
+
class: nil,
|
635
|
+
for: nil,
|
636
|
+
form: nil,
|
637
|
+
id: nil,
|
638
|
+
name: nil,
|
639
|
+
**attributes,
|
640
|
+
&content
|
641
|
+
) = nil
|
642
|
+
|
643
|
+
# Outputs a `<p>` tag.
|
644
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/p
|
645
|
+
register_element def p(
|
646
|
+
class: nil,
|
647
|
+
id: nil,
|
648
|
+
**attributes,
|
649
|
+
&content
|
650
|
+
) = nil
|
651
|
+
|
652
|
+
# Outputs a `<picture>` tag.
|
653
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/picture
|
654
|
+
register_element def picture(
|
655
|
+
class: nil,
|
656
|
+
id: nil,
|
657
|
+
**attributes,
|
658
|
+
&content
|
659
|
+
) = nil
|
660
|
+
|
661
|
+
# Outputs a `<portal>` tag. (Experimental)
|
662
|
+
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/portal
|
663
|
+
register_element def portal(
|
664
|
+
class: nil,
|
665
|
+
id: nil,
|
666
|
+
src: nil,
|
667
|
+
**attributes,
|
668
|
+
&content
|
669
|
+
) = nil
|
670
|
+
|
671
|
+
# Outputs a `<pre>` tag.
|
672
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/pre
|
673
|
+
register_element def pre(
|
674
|
+
class: nil,
|
675
|
+
id: nil,
|
676
|
+
**attributes,
|
677
|
+
&content
|
678
|
+
) = nil
|
679
|
+
|
680
|
+
# Outputs a `<progress>` tag.
|
681
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/progress
|
682
|
+
register_element def progress(
|
683
|
+
class: nil,
|
684
|
+
id: nil,
|
685
|
+
max: nil,
|
686
|
+
value: nil,
|
687
|
+
**attributes,
|
688
|
+
&content
|
689
|
+
) = nil
|
690
|
+
|
691
|
+
# Outputs a `<q>` tag.
|
692
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/q
|
693
|
+
register_element def q(
|
694
|
+
cite: nil,
|
695
|
+
class: nil,
|
696
|
+
id: nil,
|
697
|
+
**attributes,
|
698
|
+
&content
|
699
|
+
) = nil
|
700
|
+
|
701
|
+
# Outputs an `<rp>` tag.
|
702
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/rp
|
703
|
+
register_element def rp(
|
704
|
+
class: nil,
|
705
|
+
id: nil,
|
706
|
+
**attributes,
|
707
|
+
&content
|
708
|
+
) = nil
|
709
|
+
|
710
|
+
# Outputs an `<rt>` tag.
|
711
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/rt
|
712
|
+
register_element def rt(
|
713
|
+
class: nil,
|
714
|
+
id: nil,
|
715
|
+
**attributes,
|
716
|
+
&content
|
717
|
+
) = nil
|
718
|
+
|
719
|
+
# Outputs a `<ruby>` tag. (The best tag ever!)
|
720
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/ruby
|
721
|
+
register_element def ruby(
|
722
|
+
class: nil,
|
723
|
+
id: nil,
|
724
|
+
**attributes,
|
725
|
+
&content
|
726
|
+
) = nil
|
727
|
+
|
728
|
+
# Outputs an `<s>` tag.
|
729
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/s
|
730
|
+
register_element def s(
|
731
|
+
class: nil,
|
732
|
+
id: nil,
|
733
|
+
**attributes,
|
734
|
+
&content
|
735
|
+
) = nil
|
736
|
+
|
737
|
+
# Outputs a `<samp>` tag.
|
738
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/samp
|
739
|
+
register_element def samp(
|
740
|
+
class: nil,
|
741
|
+
id: nil,
|
742
|
+
**attributes,
|
743
|
+
&content
|
744
|
+
) = nil
|
745
|
+
|
746
|
+
# Outputs a `<script>` tag.
|
747
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/script
|
748
|
+
register_element def script(
|
749
|
+
async: nil,
|
750
|
+
class: nil,
|
751
|
+
defer: nil,
|
752
|
+
id: nil,
|
753
|
+
src: nil,
|
754
|
+
type: nil,
|
755
|
+
**attributes,
|
756
|
+
&content
|
757
|
+
) = nil
|
758
|
+
|
759
|
+
# Outputs a `<search>` tag.
|
760
|
+
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search
|
761
|
+
register_element def search(
|
762
|
+
class: nil,
|
763
|
+
id: nil,
|
764
|
+
**attributes,
|
765
|
+
&content
|
766
|
+
) = nil
|
767
|
+
|
768
|
+
# Outputs a `<section>` tag.
|
769
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/section
|
770
|
+
register_element def section(
|
771
|
+
class: nil,
|
772
|
+
id: nil,
|
773
|
+
**attributes,
|
774
|
+
&content
|
775
|
+
) = nil
|
776
|
+
|
777
|
+
# Outputs a `<select>` tag.
|
778
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/select
|
779
|
+
register_element def select(
|
780
|
+
class: nil,
|
781
|
+
id: nil,
|
782
|
+
multiple: nil,
|
783
|
+
name: nil,
|
784
|
+
size: nil,
|
785
|
+
**attributes,
|
786
|
+
&content
|
787
|
+
) = nil
|
788
|
+
|
789
|
+
# Outputs a `<slot>` tag.
|
790
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/slot
|
791
|
+
register_element def slot(
|
792
|
+
class: nil,
|
793
|
+
id: nil,
|
794
|
+
name: nil,
|
795
|
+
**attributes,
|
796
|
+
&content
|
797
|
+
) = nil
|
798
|
+
|
799
|
+
# Outputs a `<small>` tag.
|
800
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/small
|
801
|
+
register_element def small(
|
802
|
+
class: nil,
|
803
|
+
id: nil,
|
804
|
+
**attributes,
|
805
|
+
&content
|
806
|
+
) = nil
|
807
|
+
|
808
|
+
# Outputs a `<span>` tag.
|
809
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/span
|
810
|
+
register_element def span(
|
811
|
+
class: nil,
|
812
|
+
id: nil,
|
813
|
+
**attributes,
|
814
|
+
&content
|
815
|
+
) = nil
|
816
|
+
|
817
|
+
# Outputs a `<strong>` tag.
|
818
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/strong
|
819
|
+
register_element def strong(
|
820
|
+
class: nil,
|
821
|
+
id: nil,
|
822
|
+
**attributes,
|
823
|
+
&content
|
824
|
+
) = nil
|
825
|
+
|
826
|
+
# Outputs a `<style>` tag.
|
827
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/style
|
828
|
+
register_element def style(
|
829
|
+
class: nil,
|
830
|
+
id: nil,
|
831
|
+
media: nil,
|
832
|
+
type: nil,
|
833
|
+
**attributes,
|
834
|
+
&content
|
835
|
+
) = nil
|
836
|
+
|
837
|
+
# Outputs a `<sub>` tag.
|
838
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/sub
|
839
|
+
register_element def sub(
|
840
|
+
class: nil,
|
841
|
+
id: nil,
|
842
|
+
**attributes,
|
843
|
+
&content
|
844
|
+
) = nil
|
845
|
+
|
846
|
+
# Outputs a `<summary>` tag.
|
847
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/summary
|
848
|
+
register_element def summary(
|
849
|
+
class: nil,
|
850
|
+
id: nil,
|
851
|
+
**attributes,
|
852
|
+
&content
|
853
|
+
) = nil
|
854
|
+
|
855
|
+
# Outputs a `<sup>` tag.
|
856
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/sup
|
857
|
+
register_element def sup(
|
858
|
+
class: nil,
|
859
|
+
id: nil,
|
860
|
+
**attributes,
|
861
|
+
&content
|
862
|
+
) = nil
|
863
|
+
|
864
|
+
# Outputs an `<svg>` tag.
|
865
|
+
# See https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg
|
866
|
+
register_element def svg(
|
867
|
+
class: nil,
|
868
|
+
height: nil,
|
869
|
+
id: nil,
|
870
|
+
viewBox: nil,
|
871
|
+
width: nil,
|
872
|
+
**attributes,
|
873
|
+
&content
|
874
|
+
) = nil
|
875
|
+
|
876
|
+
# Outputs a `<table>` tag.
|
877
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/table
|
878
|
+
register_element def table(
|
879
|
+
class: nil,
|
880
|
+
id: nil,
|
881
|
+
**attributes,
|
882
|
+
&content
|
883
|
+
) = nil
|
884
|
+
|
885
|
+
# Outputs a `<tbody>` tag.
|
886
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/tbody
|
887
|
+
register_element def tbody(
|
888
|
+
class: nil,
|
889
|
+
id: nil,
|
890
|
+
**attributes,
|
891
|
+
&content
|
892
|
+
) = nil
|
893
|
+
|
894
|
+
# Outputs a `<td>` tag.
|
895
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/td
|
896
|
+
register_element def td(
|
897
|
+
class: nil,
|
898
|
+
colspan: nil,
|
899
|
+
headers: nil,
|
900
|
+
id: nil,
|
901
|
+
rowspan: nil,
|
902
|
+
**attributes,
|
903
|
+
&content
|
904
|
+
) = nil
|
905
|
+
|
906
|
+
# Outputs a `<template>` tag.
|
907
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/template
|
908
|
+
register_element def template(
|
909
|
+
class: nil,
|
910
|
+
id: nil,
|
911
|
+
**attributes,
|
912
|
+
&content
|
913
|
+
) = nil
|
914
|
+
|
915
|
+
# Outputs a `<textarea>` tag.
|
916
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/textarea
|
917
|
+
register_element def textarea(
|
918
|
+
class: nil,
|
919
|
+
cols: nil,
|
920
|
+
disabled: nil,
|
921
|
+
id: nil,
|
922
|
+
name: nil,
|
923
|
+
readonly: nil,
|
924
|
+
rows: nil,
|
925
|
+
**attributes,
|
926
|
+
&content
|
927
|
+
) = nil
|
928
|
+
|
929
|
+
# Outputs a `<tfoot>` tag.
|
930
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/tfoot
|
931
|
+
register_element def tfoot(
|
932
|
+
class: nil,
|
933
|
+
id: nil,
|
934
|
+
**attributes,
|
935
|
+
&content
|
936
|
+
) = nil
|
937
|
+
|
938
|
+
# Outputs a `<th>` tag.
|
939
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/th
|
940
|
+
register_element def th(
|
941
|
+
class: nil,
|
942
|
+
colspan: nil,
|
943
|
+
headers: nil,
|
944
|
+
id: nil,
|
945
|
+
rowspan: nil,
|
946
|
+
scope: nil,
|
947
|
+
**attributes,
|
948
|
+
&content
|
949
|
+
) = nil
|
950
|
+
|
951
|
+
# Outputs a `<thead>` tag.
|
952
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/thead
|
953
|
+
register_element def thead(
|
954
|
+
class: nil,
|
955
|
+
id: nil,
|
956
|
+
**attributes,
|
957
|
+
&content
|
958
|
+
) = nil
|
959
|
+
|
960
|
+
# Outputs a `<time>` tag.
|
961
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/time
|
962
|
+
register_element def time(
|
963
|
+
class: nil,
|
964
|
+
datetime: nil,
|
965
|
+
id: nil,
|
966
|
+
**attributes,
|
967
|
+
&content
|
968
|
+
) = nil
|
969
|
+
|
970
|
+
# Outputs a `<title>` tag.
|
971
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/title
|
972
|
+
register_element def title(
|
973
|
+
class: nil,
|
974
|
+
id: nil,
|
975
|
+
**attributes,
|
976
|
+
&content
|
977
|
+
) = nil
|
978
|
+
|
979
|
+
# Outputs a `<tr>` tag.
|
980
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/tr
|
981
|
+
register_element def tr(
|
982
|
+
class: nil,
|
983
|
+
id: nil,
|
984
|
+
**attributes,
|
985
|
+
&content
|
986
|
+
) = nil
|
987
|
+
|
988
|
+
# Outputs a `<u>` tag.
|
989
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/u
|
990
|
+
register_element def u(
|
991
|
+
class: nil,
|
992
|
+
id: nil,
|
993
|
+
**attributes,
|
994
|
+
&content
|
995
|
+
) = nil
|
996
|
+
|
997
|
+
# Outputs a `<ul>` tag.
|
998
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/ul
|
999
|
+
register_element def ul(
|
1000
|
+
class: nil,
|
1001
|
+
id: nil,
|
1002
|
+
**attributes,
|
1003
|
+
&content
|
1004
|
+
) = nil
|
1005
|
+
|
1006
|
+
# Outputs a `<var>` tag.
|
1007
|
+
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var
|
1008
|
+
register_element def var(
|
1009
|
+
class: nil,
|
1010
|
+
id: nil,
|
1011
|
+
**attributes,
|
1012
|
+
&content
|
1013
|
+
) = nil
|
1014
|
+
|
1015
|
+
# Outputs a `<video>` tag.
|
1016
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/video
|
1017
|
+
register_element def video(
|
1018
|
+
autoplay: nil,
|
1019
|
+
class: nil,
|
1020
|
+
controls: nil,
|
1021
|
+
height: nil,
|
1022
|
+
id: nil,
|
1023
|
+
loop: nil,
|
1024
|
+
src: nil,
|
1025
|
+
width: nil,
|
1026
|
+
**attributes,
|
1027
|
+
&content
|
1028
|
+
) = nil
|
1029
|
+
|
1030
|
+
# Outputs a `<wbr>` tag.
|
1031
|
+
# See https://developer.mozilla.org/docs/Web/HTML/Element/wbr
|
1032
|
+
register_element def wbr(
|
1033
|
+
class: nil,
|
1034
|
+
id: nil,
|
1035
|
+
**attributes,
|
1036
|
+
&content
|
1037
|
+
) = nil
|
727
1038
|
end
|