Module: Tiny::HTML
- Included in:
- Rendering
- Defined in:
- lib/tiny/html.rb
Class Attribute Summary collapse
-
.content_tags ⇒ Array
readonly
Void tag names.
-
.void_tags ⇒ Array
readonly
Content tag names.
Instance Method Summary collapse
-
#a(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
common tags Shortcut for html_tag(:a).
-
#abbr(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:abbr).
-
#address(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:address).
-
#area(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:area).
-
#article(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:article).
-
#aside(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:aside).
-
#audio(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:audio).
-
#b(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:b).
-
#base(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:base).
-
#bdi(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:bdi).
-
#bdo(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:bdo).
-
#big(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:big).
-
#blockquote(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:blockquote).
-
#body(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:body).
-
#br(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:br).
-
#button(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:button).
-
#canvas(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:canvas).
-
#caption(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:caption).
-
#cite(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:cite).
-
#code(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:code).
-
#col(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:col).
-
#colgroup(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:colgroup).
-
#command(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:command).
-
#datalist(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:datalist).
-
#dd(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:dd).
-
#del(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:del).
-
#details(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:details).
-
#dfn(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:dfn).
-
#div(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:div).
-
#dl(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:dl).
-
#dt(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:dt).
-
#em(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:em).
-
#embed(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
html 5 tags Shortcut for html_tag(:embed).
-
#fieldset(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:fieldset).
-
#figcaption(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:figcaption).
-
#figure(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:figure).
-
#footer(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:footer).
-
#form(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:form).
-
#h1(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:h1).
-
#h2(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:h2).
-
#h3(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:h3).
-
#h4(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:h4).
-
#h5(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:h5).
-
#h6(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:h6).
-
#head(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:head).
-
#header(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:header).
-
#hgroup(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:hgroup).
-
#hr(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:hr).
-
#html(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:html).
-
#i(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:i).
-
#iframe(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:iframe).
-
#img(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:img).
-
#input(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:input).
-
#ins(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:ins).
-
#kbd(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:kbd).
-
#keygen(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:keygen).
-
#label(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:label).
-
#legend(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:legend).
-
#li(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:li).
-
#link(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:link).
-
#map(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:map).
-
#mark(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:mark).
-
#meta(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:meta).
-
#meter(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:meter).
-
#nav(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:nav).
-
#noscript(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:noscript).
-
#object(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:object).
-
#ol(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:ol).
-
#optgroup(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:optgroup).
-
#option(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:option).
-
#output(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:output).
-
#p(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:p).
-
#param(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:param).
-
#pre(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:pre).
-
#progress(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:progress).
-
#q(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:q).
-
#rp(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:rp).
-
#rt(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:rt).
-
#ruby(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:ruby).
-
#s(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:s).
-
#samp(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:samp).
-
#script(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:script).
-
#section(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:section).
-
#select(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:select).
-
#small(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:small).
-
#source(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:source).
-
#span(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:span).
-
#strike(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:strike).
-
#strong(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:strong).
-
#style(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:style).
-
#sub(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:sub).
-
#summary(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:summary).
-
#sup(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:sup).
-
#table(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:table).
-
#tbody(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:tbody).
-
#td(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:td).
-
#textarea(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:textarea).
-
#tfoot(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:tfoot).
-
#th(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:th).
-
#thead(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:thead).
-
#time(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:time).
-
#title(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:title).
-
#tr(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:tr).
-
#track(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:track).
-
#tt(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:tt).
-
#u(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:u).
-
#ul(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:ul).
-
#var(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:var).
-
#video(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:video).
-
#wbr(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:wbr).
Class Attribute Details
.content_tags ⇒ Array (readonly)
Void tag names. Tags that should have no content.
10 11 12 |
# File 'lib/tiny/html.rb', line 10 def @content_tags end |
.void_tags ⇒ Array (readonly)
Content tag names. Tags that can have content.
15 16 17 |
# File 'lib/tiny/html.rb', line 15 def @void_tags end |
Instance Method Details
#a(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
common tags Shortcut for html_tag(:a)
79 |
# File 'lib/tiny/html.rb', line 79 tag_def 'a' |
#abbr(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:abbr)
80 |
# File 'lib/tiny/html.rb', line 80 tag_def 'abbr' |
#address(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:address)
81 |
# File 'lib/tiny/html.rb', line 81 tag_def 'address' |
#area(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:area)
40 |
# File 'lib/tiny/html.rb', line 40 tag_def 'area', :void |
#article(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:article)
53 |
# File 'lib/tiny/html.rb', line 53 tag_def 'article' |
#aside(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:aside)
54 |
# File 'lib/tiny/html.rb', line 54 tag_def 'aside' |
#audio(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:audio)
55 |
# File 'lib/tiny/html.rb', line 55 tag_def 'audio' |
#b(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:b)
83 |
# File 'lib/tiny/html.rb', line 83 tag_def 'b' |
#base(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:base)
41 |
# File 'lib/tiny/html.rb', line 41 tag_def 'base', :void |
#bdi(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:bdi)
56 |
# File 'lib/tiny/html.rb', line 56 tag_def 'bdi' |
#bdo(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:bdo)
84 |
# File 'lib/tiny/html.rb', line 84 tag_def 'bdo' |
#big(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:big)
85 |
# File 'lib/tiny/html.rb', line 85 tag_def 'big' |
#blockquote(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:blockquote)
86 |
# File 'lib/tiny/html.rb', line 86 tag_def 'blockquote' |
#body(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:body)
87 |
# File 'lib/tiny/html.rb', line 87 tag_def 'body' |
#br(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:br)
42 |
# File 'lib/tiny/html.rb', line 42 tag_def 'br', :void |
#button(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:button)
88 |
# File 'lib/tiny/html.rb', line 88 tag_def 'button' |
#canvas(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:canvas)
57 |
# File 'lib/tiny/html.rb', line 57 tag_def 'canvas' |
#caption(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:caption)
90 |
# File 'lib/tiny/html.rb', line 90 tag_def 'caption' |
#cite(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:cite)
91 |
# File 'lib/tiny/html.rb', line 91 tag_def 'cite' |
#code(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:code)
92 |
# File 'lib/tiny/html.rb', line 92 tag_def 'code' |
#col(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:col)
43 |
# File 'lib/tiny/html.rb', line 43 tag_def 'col', :void |
#colgroup(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:colgroup)
93 |
# File 'lib/tiny/html.rb', line 93 tag_def 'colgroup' |
#command(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:command)
58 |
# File 'lib/tiny/html.rb', line 58 tag_def 'command' |
#datalist(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:datalist)
59 |
# File 'lib/tiny/html.rb', line 59 tag_def 'datalist' |
#dd(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:dd)
95 |
# File 'lib/tiny/html.rb', line 95 tag_def 'dd' |
#del(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:del)
96 |
# File 'lib/tiny/html.rb', line 96 tag_def 'del' |
#details(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:details)
60 |
# File 'lib/tiny/html.rb', line 60 tag_def 'details' |
#dfn(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:dfn)
97 |
# File 'lib/tiny/html.rb', line 97 tag_def 'dfn' |
#div(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:div)
98 |
# File 'lib/tiny/html.rb', line 98 tag_def 'div' |
#dl(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:dl)
99 |
# File 'lib/tiny/html.rb', line 99 tag_def 'dl' |
#dt(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:dt)
100 |
# File 'lib/tiny/html.rb', line 100 tag_def 'dt' |
#em(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:em)
102 |
# File 'lib/tiny/html.rb', line 102 tag_def 'em' |
#embed(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
html 5 tags Shortcut for html_tag(:embed)
52 |
# File 'lib/tiny/html.rb', line 52 tag_def 'embed', :void |
#fieldset(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:fieldset)
104 |
# File 'lib/tiny/html.rb', line 104 tag_def 'fieldset' |
#figcaption(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:figcaption)
61 |
# File 'lib/tiny/html.rb', line 61 tag_def 'figcaption' |
#figure(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:figure)
62 |
# File 'lib/tiny/html.rb', line 62 tag_def 'figure' |
#footer(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:footer)
105 |
# File 'lib/tiny/html.rb', line 105 tag_def 'footer' |
#form(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:form)
106 |
# File 'lib/tiny/html.rb', line 106 tag_def 'form' |
#h1(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:h1)
108 |
# File 'lib/tiny/html.rb', line 108 tag_def 'h1' |
#h2(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:h2)
109 |
# File 'lib/tiny/html.rb', line 109 tag_def 'h2' |
#h3(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:h3)
110 |
# File 'lib/tiny/html.rb', line 110 tag_def 'h3' |
#h4(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:h4)
111 |
# File 'lib/tiny/html.rb', line 111 tag_def 'h4' |
#h5(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:h5)
112 |
# File 'lib/tiny/html.rb', line 112 tag_def 'h5' |
#h6(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:h6)
113 |
# File 'lib/tiny/html.rb', line 113 tag_def 'h6' |
#head(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:head)
114 |
# File 'lib/tiny/html.rb', line 114 tag_def 'head' |
#header(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:header)
63 |
# File 'lib/tiny/html.rb', line 63 tag_def 'header' |
#hgroup(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:hgroup)
64 |
# File 'lib/tiny/html.rb', line 64 tag_def 'hgroup' |
#hr(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:hr)
44 |
# File 'lib/tiny/html.rb', line 44 tag_def 'hr', :void |
#html(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:html)
115 |
# File 'lib/tiny/html.rb', line 115 tag_def 'html' |
#i(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:i)
117 |
# File 'lib/tiny/html.rb', line 117 tag_def 'i' |
#iframe(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:iframe)
118 |
# File 'lib/tiny/html.rb', line 118 tag_def 'iframe' |
#img(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:img)
45 |
# File 'lib/tiny/html.rb', line 45 tag_def 'img', :void |
#input(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:input)
46 |
# File 'lib/tiny/html.rb', line 46 tag_def 'input', :void |
#ins(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:ins)
119 |
# File 'lib/tiny/html.rb', line 119 tag_def 'ins' |
#kbd(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:kbd)
121 |
# File 'lib/tiny/html.rb', line 121 tag_def 'kbd' |
#keygen(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:keygen)
65 |
# File 'lib/tiny/html.rb', line 65 tag_def 'keygen' |
#label(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:label)
123 |
# File 'lib/tiny/html.rb', line 123 tag_def 'label' |
#legend(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:legend)
124 |
# File 'lib/tiny/html.rb', line 124 tag_def 'legend' |
#li(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:li)
125 |
# File 'lib/tiny/html.rb', line 125 tag_def 'li' |
#link(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:link)
47 |
# File 'lib/tiny/html.rb', line 47 tag_def 'link', :void |
#map(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:map)
127 |
# File 'lib/tiny/html.rb', line 127 tag_def 'map' |
#mark(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:mark)
66 |
# File 'lib/tiny/html.rb', line 66 tag_def 'mark' |
#meta(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:meta)
48 |
# File 'lib/tiny/html.rb', line 48 tag_def 'meta', :void |
#meter(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:meter)
67 |
# File 'lib/tiny/html.rb', line 67 tag_def 'meter' |
#nav(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:nav)
68 |
# File 'lib/tiny/html.rb', line 68 tag_def 'nav' |
#noscript(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:noscript)
129 |
# File 'lib/tiny/html.rb', line 129 tag_def 'noscript' |
#object(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:object)
131 |
# File 'lib/tiny/html.rb', line 131 tag_def 'object' |
#ol(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:ol)
132 |
# File 'lib/tiny/html.rb', line 132 tag_def 'ol' |
#optgroup(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:optgroup)
133 |
# File 'lib/tiny/html.rb', line 133 tag_def 'optgroup' |
#option(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:option)
134 |
# File 'lib/tiny/html.rb', line 134 tag_def 'option' |
#output(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:output)
69 |
# File 'lib/tiny/html.rb', line 69 tag_def 'output' |
#p(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:p)
136 |
# File 'lib/tiny/html.rb', line 136 tag_def 'p' |
#param(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:param)
49 |
# File 'lib/tiny/html.rb', line 49 tag_def 'param', :void |
#pre(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:pre)
137 |
# File 'lib/tiny/html.rb', line 137 tag_def 'pre' |
#progress(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:progress)
70 |
# File 'lib/tiny/html.rb', line 70 tag_def 'progress' |
#q(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:q)
139 |
# File 'lib/tiny/html.rb', line 139 tag_def 'q' |
#rp(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:rp)
141 |
# File 'lib/tiny/html.rb', line 141 tag_def 'rp' |
#rt(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:rt)
142 |
# File 'lib/tiny/html.rb', line 142 tag_def 'rt' |
#ruby(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:ruby)
143 |
# File 'lib/tiny/html.rb', line 143 tag_def 'ruby' |
#s(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:s)
145 |
# File 'lib/tiny/html.rb', line 145 tag_def 's' |
#samp(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:samp)
146 |
# File 'lib/tiny/html.rb', line 146 tag_def 'samp' |
#script(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:script)
147 |
# File 'lib/tiny/html.rb', line 147 tag_def 'script' |
#section(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:section)
71 |
# File 'lib/tiny/html.rb', line 71 tag_def 'section' |
#select(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:select)
148 |
# File 'lib/tiny/html.rb', line 148 tag_def 'select' |
#small(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:small)
149 |
# File 'lib/tiny/html.rb', line 149 tag_def 'small' |
#source(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:source)
72 |
# File 'lib/tiny/html.rb', line 72 tag_def 'source' |
#span(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:span)
150 |
# File 'lib/tiny/html.rb', line 150 tag_def 'span' |
#strike(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:strike)
151 |
# File 'lib/tiny/html.rb', line 151 tag_def 'strike' |
#strong(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:strong)
152 |
# File 'lib/tiny/html.rb', line 152 tag_def 'strong' |
#style(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:style)
153 |
# File 'lib/tiny/html.rb', line 153 tag_def 'style' |
#sub(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:sub)
154 |
# File 'lib/tiny/html.rb', line 154 tag_def 'sub' |
#summary(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:summary)
73 |
# File 'lib/tiny/html.rb', line 73 tag_def 'summary' |
#sup(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:sup)
155 |
# File 'lib/tiny/html.rb', line 155 tag_def 'sup' |
#table(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:table)
157 |
# File 'lib/tiny/html.rb', line 157 tag_def 'table' |
#tbody(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:tbody)
158 |
# File 'lib/tiny/html.rb', line 158 tag_def 'tbody' |
#td(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:td)
159 |
# File 'lib/tiny/html.rb', line 159 tag_def 'td' |
#textarea(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:textarea)
160 |
# File 'lib/tiny/html.rb', line 160 tag_def 'textarea' |
#tfoot(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:tfoot)
161 |
# File 'lib/tiny/html.rb', line 161 tag_def 'tfoot' |
#th(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:th)
162 |
# File 'lib/tiny/html.rb', line 162 tag_def 'th' |
#thead(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:thead)
163 |
# File 'lib/tiny/html.rb', line 163 tag_def 'thead' |
#time(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:time)
164 |
# File 'lib/tiny/html.rb', line 164 tag_def 'time' |
#title(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:title)
165 |
# File 'lib/tiny/html.rb', line 165 tag_def 'title' |
#tr(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:tr)
166 |
# File 'lib/tiny/html.rb', line 166 tag_def 'tr' |
#track(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:track)
74 |
# File 'lib/tiny/html.rb', line 74 tag_def 'track' |
#tt(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:tt)
167 |
# File 'lib/tiny/html.rb', line 167 tag_def 'tt' |
#u(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:u)
169 |
# File 'lib/tiny/html.rb', line 169 tag_def 'u' |
#ul(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:ul)
170 |
# File 'lib/tiny/html.rb', line 170 tag_def 'ul' |
#var(attrs_or_content = {}, attrs = nil) { ... } ⇒ String
Shortcut for html_tag(:var)
172 |
# File 'lib/tiny/html.rb', line 172 tag_def 'var' |