Module: FunHtml::SpecElements::HTMLElement

Included in:
HTMLAllElements
Defined in:
lib/fun_html/spec_elements.rb

Instance Method Summary collapse

Instance Method Details

#abbr(attributes = nil, &elements) ⇒ Object



138
139
140
# File 'lib/fun_html/spec_elements.rb', line 138

def abbr(attributes = nil, &elements)
  write('<abbr', '</abbr>', attributes, &elements)
end

#acronym(attributes = nil, &elements) ⇒ Object



215
216
217
# File 'lib/fun_html/spec_elements.rb', line 215

def acronym(attributes = nil, &elements)
  write('<acronym', '</acronym>', attributes, &elements)
end

#address(attributes = nil, &elements) ⇒ Object



86
87
88
# File 'lib/fun_html/spec_elements.rb', line 86

def address(attributes = nil, &elements)
  write('<address', '</address>', attributes, &elements)
end

#article(attributes = nil, &elements) ⇒ Object



58
59
60
# File 'lib/fun_html/spec_elements.rb', line 58

def article(attributes = nil, &elements)
  write('<article', '</article>', attributes, &elements)
end

#aside(attributes = nil, &elements) ⇒ Object



70
71
72
# File 'lib/fun_html/spec_elements.rb', line 70

def aside(attributes = nil, &elements)
  write('<aside', '</aside>', attributes, &elements)
end

#b(attributes = nil, &elements) ⇒ Object



182
183
184
# File 'lib/fun_html/spec_elements.rb', line 182

def b(attributes = nil, &elements)
  write('<b', '</b>', attributes, &elements)
end

#basefont(attributes = nil, &elements) ⇒ Object



247
248
249
# File 'lib/fun_html/spec_elements.rb', line 247

def basefont(attributes = nil, &elements)
  write('<basefont', '</basefont>', attributes, &elements)
end

#bdi(attributes = nil, &elements) ⇒ Object



194
195
196
# File 'lib/fun_html/spec_elements.rb', line 194

def bdi(attributes = nil, &elements)
  write('<bdi', '</bdi>', attributes, &elements)
end

#bdo(attributes = nil, &elements) ⇒ Object



198
199
200
# File 'lib/fun_html/spec_elements.rb', line 198

def bdo(attributes = nil, &elements)
  write('<bdo', '</bdo>', attributes, &elements)
end

#big(attributes = nil, &elements) ⇒ Object



251
252
253
# File 'lib/fun_html/spec_elements.rb', line 251

def big(attributes = nil, &elements)
  write('<big', '</big>', attributes, &elements)
end

#center(attributes = nil, &elements) ⇒ Object



255
256
257
# File 'lib/fun_html/spec_elements.rb', line 255

def center(attributes = nil, &elements)
  write('<center', '</center>', attributes, &elements)
end

#cite(attributes = nil, &elements) ⇒ Object



130
131
132
# File 'lib/fun_html/spec_elements.rb', line 130

def cite(attributes = nil, &elements)
  write('<cite', '</cite>', attributes, &elements)
end

#code(attributes = nil, &elements) ⇒ Object



154
155
156
# File 'lib/fun_html/spec_elements.rb', line 154

def code(attributes = nil, &elements)
  write('<code', '</code>', attributes, &elements)
end

#dd(attributes = nil, &elements) ⇒ Object



94
95
96
# File 'lib/fun_html/spec_elements.rb', line 94

def dd(attributes = nil, &elements)
  write('<dd', '</dd>', attributes, &elements)
end

#dfn(attributes = nil, &elements) ⇒ Object



134
135
136
# File 'lib/fun_html/spec_elements.rb', line 134

def dfn(attributes = nil, &elements)
  write('<dfn', '</dfn>', attributes, &elements)
end

#dt(attributes = nil, &elements) ⇒ Object



90
91
92
# File 'lib/fun_html/spec_elements.rb', line 90

def dt(attributes = nil, &elements)
  write('<dt', '</dt>', attributes, &elements)
end

#em(attributes = nil, &elements) ⇒ Object



114
115
116
# File 'lib/fun_html/spec_elements.rb', line 114

def em(attributes = nil, &elements)
  write('<em', '</em>', attributes, &elements)
end

#figcaption(attributes = nil, &elements) ⇒ Object



102
103
104
# File 'lib/fun_html/spec_elements.rb', line 102

def figcaption(attributes = nil, &elements)
  write('<figcaption', '</figcaption>', attributes, &elements)
end

#figure(attributes = nil, &elements) ⇒ Object



98
99
100
# File 'lib/fun_html/spec_elements.rb', line 98

def figure(attributes = nil, &elements)
  write('<figure', '</figure>', attributes, &elements)
end


82
83
84
# File 'lib/fun_html/spec_elements.rb', line 82

def footer(attributes = nil, &elements)
  write('<footer', '</footer>', attributes, &elements)
end

#header(attributes = nil, &elements) ⇒ Object



78
79
80
# File 'lib/fun_html/spec_elements.rb', line 78

def header(attributes = nil, &elements)
  write('<header', '</header>', attributes, &elements)
end

#hgroup(attributes = nil, &elements) ⇒ Object



74
75
76
# File 'lib/fun_html/spec_elements.rb', line 74

def hgroup(attributes = nil, &elements)
  write('<hgroup', '</hgroup>', attributes, &elements)
end

#i(attributes = nil, &elements) ⇒ Object



178
179
180
# File 'lib/fun_html/spec_elements.rb', line 178

def i(attributes = nil, &elements)
  write('<i', '</i>', attributes, &elements)
end

#kbd(attributes = nil, &elements) ⇒ Object



166
167
168
# File 'lib/fun_html/spec_elements.rb', line 166

def kbd(attributes = nil, &elements)
  write('<kbd', '</kbd>', attributes, &elements)
end

#main(attributes = nil, &elements) ⇒ Object



106
107
108
# File 'lib/fun_html/spec_elements.rb', line 106

def main(attributes = nil, &elements)
  write('<main', '</main>', attributes, &elements)
end

#mark(attributes = nil, &elements) ⇒ Object



190
191
192
# File 'lib/fun_html/spec_elements.rb', line 190

def mark(attributes = nil, &elements)
  write('<mark', '</mark>', attributes, &elements)
end


223
224
225
# File 'lib/fun_html/spec_elements.rb', line 223

def menuitem(attributes = nil, &elements)
  write('<menuitem', '</menuitem>', attributes, &elements)
end


66
67
68
# File 'lib/fun_html/spec_elements.rb', line 66

def nav(attributes = nil, &elements)
  write('<nav', '</nav>', attributes, &elements)
end

#nobr(attributes = nil, &elements) ⇒ Object



259
260
261
# File 'lib/fun_html/spec_elements.rb', line 259

def nobr(attributes = nil, &elements)
  write('<nobr', '</nobr>', attributes, &elements)
end

#noembed(attributes = nil, &elements) ⇒ Object



227
228
229
# File 'lib/fun_html/spec_elements.rb', line 227

def noembed(attributes = nil, &elements)
  write('<noembed', '</noembed>', attributes, &elements)
end

#noframes(attributes = nil, &elements) ⇒ Object



219
220
221
# File 'lib/fun_html/spec_elements.rb', line 219

def noframes(attributes = nil, &elements)
  write('<noframes', '</noframes>', attributes, &elements)
end

#noscript(attributes = nil, &elements) ⇒ Object



211
212
213
# File 'lib/fun_html/spec_elements.rb', line 211

def noscript(attributes = nil, &elements)
  write('<noscript', '</noscript>', attributes, &elements)
end

#plaintext(attributes = nil, &elements) ⇒ Object



231
232
233
# File 'lib/fun_html/spec_elements.rb', line 231

def plaintext(attributes = nil, &elements)
  write('<plaintext', '</plaintext>', attributes, &elements)
end

#rb(attributes = nil, &elements) ⇒ Object



235
236
237
# File 'lib/fun_html/spec_elements.rb', line 235

def rb(attributes = nil, &elements)
  write('<rb', '</rb>', attributes, &elements)
end

#rp(attributes = nil, &elements) ⇒ Object



150
151
152
# File 'lib/fun_html/spec_elements.rb', line 150

def rp(attributes = nil, &elements)
  write('<rp', '</rp>', attributes, &elements)
end

#rt(attributes = nil, &elements) ⇒ Object



146
147
148
# File 'lib/fun_html/spec_elements.rb', line 146

def rt(attributes = nil, &elements)
  write('<rt', '</rt>', attributes, &elements)
end

#rtc(attributes = nil, &elements) ⇒ Object



239
240
241
# File 'lib/fun_html/spec_elements.rb', line 239

def rtc(attributes = nil, &elements)
  write('<rtc', '</rtc>', attributes, &elements)
end

#ruby(attributes = nil, &elements) ⇒ Object



142
143
144
# File 'lib/fun_html/spec_elements.rb', line 142

def ruby(attributes = nil, &elements)
  write('<ruby', '</ruby>', attributes, &elements)
end

#s(attributes = nil, &elements) ⇒ Object



126
127
128
# File 'lib/fun_html/spec_elements.rb', line 126

def s(attributes = nil, &elements)
  write('<s', '</s>', attributes, &elements)
end

#samp(attributes = nil, &elements) ⇒ Object



162
163
164
# File 'lib/fun_html/spec_elements.rb', line 162

def samp(attributes = nil, &elements)
  write('<samp', '</samp>', attributes, &elements)
end

#search(attributes = nil, &elements) ⇒ Object



110
111
112
# File 'lib/fun_html/spec_elements.rb', line 110

def search(attributes = nil, &elements)
  write('<search', '</search>', attributes, &elements)
end

#section(attributes = nil, &elements) ⇒ Object



62
63
64
# File 'lib/fun_html/spec_elements.rb', line 62

def section(attributes = nil, &elements)
  write('<section', '</section>', attributes, &elements)
end

#small(attributes = nil, &elements) ⇒ Object



122
123
124
# File 'lib/fun_html/spec_elements.rb', line 122

def small(attributes = nil, &elements)
  write('<small', '</small>', attributes, &elements)
end

#strike(attributes = nil, &elements) ⇒ Object



243
244
245
# File 'lib/fun_html/spec_elements.rb', line 243

def strike(attributes = nil, &elements)
  write('<strike', '</strike>', attributes, &elements)
end

#strong(attributes = nil, &elements) ⇒ Object



118
119
120
# File 'lib/fun_html/spec_elements.rb', line 118

def strong(attributes = nil, &elements)
  write('<strong', '</strong>', attributes, &elements)
end

#sub(attributes = nil, &elements) ⇒ Object



170
171
172
# File 'lib/fun_html/spec_elements.rb', line 170

def sub(attributes = nil, &elements)
  write('<sub', '</sub>', attributes, &elements)
end

#summary(attributes = nil, &elements) ⇒ Object



207
208
209
# File 'lib/fun_html/spec_elements.rb', line 207

def summary(attributes = nil, &elements)
  write('<summary', '</summary>', attributes, &elements)
end

#sup(attributes = nil, &elements) ⇒ Object



174
175
176
# File 'lib/fun_html/spec_elements.rb', line 174

def sup(attributes = nil, &elements)
  write('<sup', '</sup>', attributes, &elements)
end

#tt(attributes = nil, &elements) ⇒ Object



263
264
265
# File 'lib/fun_html/spec_elements.rb', line 263

def tt(attributes = nil, &elements)
  write('<tt', '</tt>', attributes, &elements)
end

#u(attributes = nil, &elements) ⇒ Object



186
187
188
# File 'lib/fun_html/spec_elements.rb', line 186

def u(attributes = nil, &elements)
  write('<u', '</u>', attributes, &elements)
end

#var(attributes = nil, &elements) ⇒ Object



158
159
160
# File 'lib/fun_html/spec_elements.rb', line 158

def var(attributes = nil, &elements)
  write('<var', '</var>', attributes, &elements)
end

#wbr(attributes = nil) ⇒ Object



202
203
204
205
# File 'lib/fun_html/spec_elements.rb', line 202

def wbr(attributes = nil)
  # no child elements allowed and no closing tag
  write_void('<wbr', attributes)
end