-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhtml_emptytags.go
More file actions
336 lines (269 loc) · 6.42 KB
/
html_emptytags.go
File metadata and controls
336 lines (269 loc) · 6.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
package html5
// Html creates an HTML <html> tag element
func Html() *HTMLElement {
return Element("html")
}
// Head creates an HTML <head> tag element
func Head() *HTMLElement {
return Element("head")
}
// Body creates an HTML <body> tag element
func Body() *HTMLElement {
return Element("body")
}
// Heading creates an HTML <heading> tag element
func Heading() *HTMLElement {
return Element("heading")
}
// Paragraph creates an HTML <paragraph> tag element
func Paragraph() *HTMLElement {
return Element("paragraph")
}
// HR creates an HTML <hr> tag element
func HR() *HTMLElement {
return Element("hr")
}
// Pre creates an HTML <pre> tag element
func Pre() *HTMLElement {
return Element("pre")
}
// UL creates an HTML <ul> tag element
func UL() *HTMLElement {
return Element("ul")
}
// DList creates an HTML <dlist> tag element
func DList() *HTMLElement {
return Element("dlist")
}
// Div creates an HTML <div> tag element
func Div() *HTMLElement {
return Element("div")
}
// Span creates an HTML <span> tag element
func Span() *HTMLElement {
return Element("span")
}
// BR creates an HTML <br> tag element
func BR() *HTMLElement {
return Element("br")
}
// Picture creates an HTML <picture> tag element
func Picture() *HTMLElement {
return Element("picture")
}
// TableCaption creates an HTML <tablecaption> tag element
func TableCaption() *HTMLElement {
return Element("tablecaption")
}
// Root creates an HTML <root> tag element
func Root() *HTMLElement {
return Element("root")
}
// Article creates an HTML <article> tag element
func Article() *HTMLElement {
return Element("article")
}
// Section creates an HTML <section> tag element
func Section() *HTMLElement {
return Element("section")
}
// Nav creates an HTML <nav> tag element
func Nav() *HTMLElement {
return Element("nav")
}
// Aside creates an HTML <aside> tag element
func Aside() *HTMLElement {
return Element("aside")
}
// HGroup creates an HTML <hgroup> tag element
func HGroup() *HTMLElement {
return Element("hgroup")
}
// Header creates an HTML <header> tag element
func Header() *HTMLElement {
return Element("header")
}
// Footer creates an HTML <footer> tag element
func Footer() *HTMLElement {
return Element("footer")
}
// Address creates an HTML <address> tag element
func Address() *HTMLElement {
return Element("address")
}
// P creates an HTML <p> tag element
func P() *HTMLElement {
return Element("p")
}
// BlockQuote creates an HTML <blockquote> tag element
func BlockQuote() *HTMLElement {
return Element("blockquote")
}
// DL creates an HTML <dl> tag element
func DL() *HTMLElement {
return Element("dl")
}
// DT creates an HTML <dt> tag element
func DT() *HTMLElement {
return Element("dt")
}
// DD creates an HTML <dd> tag element
func DD() *HTMLElement {
return Element("dd")
}
// Figure creates an HTML <figure> tag element
func Figure() *HTMLElement {
return Element("figure")
}
// FigCaption creates an HTML <figcaption> tag element
func FigCaption() *HTMLElement {
return Element("figcaption")
}
// Main creates an HTML <main> tag element
func Main() *HTMLElement {
return Element("main")
}
// EM creates an HTML <em> tag element
func EM() *HTMLElement {
return Element("em")
}
// Strong creates an HTML <strong> tag element
func Strong() *HTMLElement {
return Element("strong")
}
// Small creates an HTML <small> tag element
func Small() *HTMLElement {
return Element("small")
}
// S creates an HTML <s> tag element
func S() *HTMLElement {
return Element("s")
}
// Cite creates an HTML <cite> tag element
func Cite() *HTMLElement {
return Element("cite")
}
// Q creates an HTML <q> tag element
func Q() *HTMLElement {
return Element("q")
}
// Dfn creates an HTML <dfn> tag element
func Dfn() *HTMLElement {
return Element("dfn")
}
// Abbr creates an HTML <abbr> tag element
func Abbr() *HTMLElement {
return Element("abbr")
}
// Ruby creates an HTML <ruby> tag element
func Ruby() *HTMLElement {
return Element("ruby")
}
// RT creates an HTML <rt> tag element
func RT() *HTMLElement {
return Element("rt")
}
// RP creates an HTML <rp> tag element
func RP() *HTMLElement {
return Element("rp")
}
// Code creates an HTML <code> tag element
func Code() *HTMLElement {
return Element("code")
}
// Var creates an HTML <var> tag element
func Var() *HTMLElement {
return Element("var")
}
// Samp creates an HTML <samp> tag element
func Samp() *HTMLElement {
return Element("samp")
}
// Kbd creates an HTML <kbd> tag element
func Kbd() *HTMLElement {
return Element("kbd")
}
// I creates an HTML <i> tag element
func I() *HTMLElement {
return Element("i")
}
// B creates an HTML <b> tag element
func B() *HTMLElement {
return Element("b")
}
// U creates an HTML <u> tag element
func U() *HTMLElement {
return Element("u")
}
// Mark creates an HTML <mark> tag element
func Mark() *HTMLElement {
return Element("mark")
}
// Bdi creates an HTML <bdi> tag element
func Bdi() *HTMLElement {
return Element("bdi")
}
// Bdo creates an HTML <bdo> tag element
func Bdo() *HTMLElement {
return Element("bdo")
}
// Wbr creates an HTML <wbr> tag element
func Wbr() *HTMLElement {
return Element("wbr")
}
// Ins creates an HTML <ins> tag element
func Ins() *HTMLElement {
return Element("ins")
}
// Del creates an HTML <del> tag element
func Del() *HTMLElement {
return Element("del")
}
// Img creates an HTML <img> tag element
func Img() *HTMLElement {
return Element("img")
}
// Caption creates an HTML <caption> tag element
func Caption() *HTMLElement {
return Element("caption")
}
// ColGroup creates an HTML <colgroup> tag element
func ColGroup() *HTMLElement {
return Element("colgroup")
}
// Col creates an HTML <col> tag element
func Col() *HTMLElement {
return Element("col")
}
// TBody creates an HTML <tbody> tag element
func TBody() *HTMLElement {
return Element("tbody")
}
// THead creates an HTML <thead> tag element
func THead() *HTMLElement {
return Element("thead")
}
// TFoot creates an HTML <tfoot> tag element
func TFoot() *HTMLElement {
return Element("tfoot")
}
// TR creates an HTML <tr> tag element
func TR() *HTMLElement {
return Element("tr")
}
// TD creates an HTML <td> tag element
func TD() *HTMLElement {
return Element("td")
}
// TH creates an HTML <th> tag element
func TH() *HTMLElement {
return Element("th")
}
// Summary creates an HTML <summary> tag element
func Summary() *HTMLElement {
return Element("summary")
}
// NoScript creates an HTML <noscript> tag element
func NoScript() *HTMLElement {
return Element("noscript")
}