phlex 2.0.0.rc2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -21
- data/lib/phlex/errors/runtime_error.rb +5 -0
- data/lib/phlex/fifo_cache_store.rb +3 -1
- data/lib/phlex/html/standard_elements.rb +517 -828
- data/lib/phlex/html/void_elements.rb +47 -80
- data/lib/phlex/html.rb +71 -9
- data/lib/phlex/kit.rb +11 -2
- data/lib/phlex/sgml/elements.rb +8 -8
- data/lib/phlex/sgml/state.rb +2 -3
- data/lib/phlex/sgml.rb +22 -16
- data/lib/phlex/svg.rb +39 -0
- data/lib/phlex/version.rb +1 -1
- data/lib/phlex.rb +45 -12
- metadata +7 -11
- data/lib/phlex/null_cache_store.rb +0 -9
- data/lib/phlex/testing/capybara.rb +0 -28
- data/lib/phlex/testing/nokogiri.rb +0 -19
- data/lib/phlex/testing/nokolexbor.rb +0 -19
- data/lib/phlex/testing/sgml.rb +0 -9
- data/lib/phlex/testing.rb +0 -10
@@ -5,933 +5,622 @@ module Phlex::HTML::StandardElements
|
|
5
5
|
extend Phlex::SGML::Elements
|
6
6
|
|
7
7
|
# Outputs an `<a>` tag.
|
8
|
-
#
|
9
|
-
#
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
-
#
|
22
|
-
#
|
23
|
-
|
24
|
-
|
25
|
-
|
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
|
-
#
|
32
|
-
#
|
33
|
-
|
34
|
-
|
35
|
-
|
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
|
-
#
|
41
|
-
#
|
42
|
-
|
43
|
-
|
44
|
-
|
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
|
-
#
|
50
|
-
#
|
51
|
-
|
52
|
-
|
53
|
-
|
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
|
-
#
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
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
|
-
#
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
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
|
-
#
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
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
|
-
#
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
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
|
-
#
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
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
|
-
#
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
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
|
-
#
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
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
|
-
#
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
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
|
-
#
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
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
|
-
#
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
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
|
-
#
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
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
|
-
#
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
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
|
-
#
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
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
|
-
#
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
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
|
-
#
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
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
|
-
#
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
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
|
-
#
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
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
|
-
#
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
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
|
-
#
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
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
|
-
#
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
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
|
-
#
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
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
|
-
#
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
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
|
-
#
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
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
|
-
#
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
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
|
-
#
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
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
|
-
#
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
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
|
-
#
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
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
|
-
#
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
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
|
-
#
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
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
|
-
#
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
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
|
-
#
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
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
|
-
#
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
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
|
-
#
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
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
|
-
#
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
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
|
-
#
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
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
|
-
#
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
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
|
-
#
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
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
|
-
#
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
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
|
-
#
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
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
|
-
#
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
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
|
-
#
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
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
|
-
#
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
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
|
-
#
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
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
|
-
#
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
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
|
-
#
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
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
|
-
#
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
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
|
-
#
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
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
|
-
#
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
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
|
-
#
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
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
|
-
#
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
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
|
-
#
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
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
|
-
#
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
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
|
-
#
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
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
|
-
#
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
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
|
-
#
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
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
|
-
#
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
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
|
-
#
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
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
|
-
#
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
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
|
-
#
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
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
|
-
#
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
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
|
-
#
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
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
|
-
#
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
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
|
-
#
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
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
|
-
#
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
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
|
-
#
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
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
|
-
#
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
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
|
-
#
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
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
|
-
#
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
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
|
-
#
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
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
|
-
#
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
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
|
-
#
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
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
|
-
#
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
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
|
-
#
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
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
|
-
#
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
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
|
-
#
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
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
|
-
#
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
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
|
-
#
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
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
|
-
#
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
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
|
-
#
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
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
|
-
#
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
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
|
-
#
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
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
|
-
#
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
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
|
-
#
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
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
|
-
#
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
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
|
-
#
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
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
|
-
#
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
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
|
-
#
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
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
|
-
#
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
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
|
-
#
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
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
|
-
#
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
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
|
-
#
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
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
|
-
#
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
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
|
-
#
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
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
|
-
#
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
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
|
-
#
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
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
|
-
#
|
931
|
-
|
932
|
-
|
933
|
-
|
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
|