phlex 2.0.0.rc2 → 2.0.1

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