Module: FunHtml::SpecAttributes
- Included in:
- Attribute
- Defined in:
- lib/fun_html/spec_attributes.rb
Overview
HTML attributes autogenerated, do not edit
Instance Method Summary collapse
-
#accept(value) ⇒ Object
Specifies file types browser will accept.
-
#accept_charset(value) ⇒ Object
Character encodings used for form submission.
-
#accesskey(value) ⇒ Object
Keyboard shortcut to access element.
-
#action(value) ⇒ Object
URL where form data is submitted.
-
#align(value) ⇒ Object
Alignment of content.
-
#alt(value) ⇒ Object
Alternative text for images.
-
#async(value) ⇒ Object
Script should execute asynchronously.
-
#autocomplete(value) ⇒ Object
Form/input autocompletion.
-
#autofocus(value) ⇒ Object
Element should be focused on page load.
-
#autoplay(value) ⇒ Object
Media will start playing automatically.
-
#bgcolor(value) ⇒ Object
Background color of element.
-
#border(value) ⇒ Object
Border width in pixels.
-
#charset(value) ⇒ Object
Character encoding of document.
-
#checked(value) ⇒ Object
Whether checkbox/radio button is selected.
-
#cols(value) ⇒ Object
Number of columns in textarea.
-
#colspan(value) ⇒ Object
Number of columns a cell spans.
-
#content(value) ⇒ Object
Content for meta tags.
-
#contenteditable(value) ⇒ Object
Whether content is editable.
-
#controls(value) ⇒ Object
Show media playback controls.
-
#coords(value) ⇒ Object
Coordinates for image maps.
-
#datetime(value) ⇒ Object
Date/time of element content.
-
#default(value) ⇒ Object
Default track for media.
-
#defer(value) ⇒ Object
Script should execute after parsing.
-
#dir(value) ⇒ Object
Text direction.
-
#disabled(value) ⇒ Object
Element is disabled.
-
#download(value) ⇒ Object
Resource should be downloaded.
-
#draggable(value) ⇒ Object
Element can be dragged.
-
#enctype(value) ⇒ Object
Form data encoding for submission.
-
#for(value) ⇒ Object
Associates label with form control.
-
#form(value) ⇒ Object
Form the element belongs to.
-
#formaction(value) ⇒ Object
URL for form submission.
-
#headers(value) ⇒ Object
Related header cells for data cell.
-
#height(value) ⇒ Object
Height of element.
-
#hidden(value) ⇒ Object
Element is not displayed.
-
#high(value) ⇒ Object
Upper range of meter.
-
#href(value) ⇒ Object
URL of linked resource.
-
#hreflang(value) ⇒ Object
Language of linked resource.
-
#id(value) ⇒ Object
Unique identifier for element.
-
#integrity(value) ⇒ Object
Subresource integrity hash.
-
#ismap(value) ⇒ Object
Image is server-side image map.
-
#kind(value) ⇒ Object
Type of text track.
-
#label(value) ⇒ Object
Label for form control/option.
-
#lang(value) ⇒ Object
Language of element content.
-
#list(value) ⇒ Object
Links input to datalist options.
-
#loop(value) ⇒ Object
Media will replay when finished.
-
#low(value) ⇒ Object
Lower range of meter.
-
#max(value) ⇒ Object
Maximum allowed value.
-
#maxlength(value) ⇒ Object
Maximum length of input.
-
#media(value) ⇒ Object
Media type for resource.
-
#method(value) ⇒ Object
HTTP method for form submission.
-
#min(value) ⇒ Object
Minimum allowed value.
-
#multiple(value) ⇒ Object
Multiple values can be selected.
-
#muted(value) ⇒ Object
Media is muted by default.
-
#name(value) ⇒ Object
Name of form control.
-
#novalidate(value) ⇒ Object
Form validation is skipped.
- #onabort(value) ⇒ Object
- #onauxclick(value) ⇒ Object
- #onbeforeinput(value) ⇒ Object
- #onbeforematch(value) ⇒ Object
- #onbeforetoggle(value) ⇒ Object
- #oncancel(value) ⇒ Object
- #oncanplay(value) ⇒ Object
- #oncanplaythrough(value) ⇒ Object
- #onchange(value) ⇒ Object
- #onclick(value) ⇒ Object
- #onclose(value) ⇒ Object
- #oncontextlost(value) ⇒ Object
- #oncontextmenu(value) ⇒ Object
- #oncontextrestored(value) ⇒ Object
- #oncopy(value) ⇒ Object
- #oncuechange(value) ⇒ Object
- #oncut(value) ⇒ Object
- #ondblclick(value) ⇒ Object
- #ondrag(value) ⇒ Object
- #ondragend(value) ⇒ Object
- #ondragenter(value) ⇒ Object
- #ondragleave(value) ⇒ Object
- #ondragover(value) ⇒ Object
- #ondragstart(value) ⇒ Object
- #ondrop(value) ⇒ Object
- #ondurationchange(value) ⇒ Object
- #onemptied(value) ⇒ Object
- #onended(value) ⇒ Object
- #onformdata(value) ⇒ Object
- #oninput(value) ⇒ Object
- #oninvalid(value) ⇒ Object
- #onkeydown(value) ⇒ Object
- #onkeypress(value) ⇒ Object
- #onkeyup(value) ⇒ Object
- #onloadeddata(value) ⇒ Object
- #onloadedmetadata(value) ⇒ Object
- #onloadstart(value) ⇒ Object
- #onmousedown(value) ⇒ Object
- #onmouseenter(value) ⇒ Object
- #onmouseleave(value) ⇒ Object
- #onmousemove(value) ⇒ Object
- #onmouseout(value) ⇒ Object
- #onmouseover(value) ⇒ Object
- #onmouseup(value) ⇒ Object
- #onpaste(value) ⇒ Object
- #onpause(value) ⇒ Object
- #onplay(value) ⇒ Object
- #onplaying(value) ⇒ Object
- #onprogress(value) ⇒ Object
- #onratechange(value) ⇒ Object
- #onreset(value) ⇒ Object
- #onscrollend(value) ⇒ Object
- #onsecuritypolicyviolation(value) ⇒ Object
- #onseeked(value) ⇒ Object
- #onseeking(value) ⇒ Object
- #onselect(value) ⇒ Object
- #onslotchange(value) ⇒ Object
- #onstalled(value) ⇒ Object
- #onsubmit(value) ⇒ Object
- #onsuspend(value) ⇒ Object
- #ontimeupdate(value) ⇒ Object
- #ontoggle(value) ⇒ Object
- #onvolumechange(value) ⇒ Object
- #onwaiting(value) ⇒ Object
- #onwheel(value) ⇒ Object
-
#open(value) ⇒ Object
Details element is expanded.
-
#optimum(value) ⇒ Object
Optimal value for meter.
-
#pattern(value) ⇒ Object
Regular expression pattern.
-
#placeholder(value) ⇒ Object
Hint text for input field.
-
#poster(value) ⇒ Object
Preview image for video.
-
#preload(value) ⇒ Object
How media should be loaded.
-
#readonly(value) ⇒ Object
Input field cannot be modified.
-
#rel(value) ⇒ Object
Relationship of linked resource.
-
#required(value) ⇒ Object
Input must be filled out.
-
#reversed(value) ⇒ Object
List is numbered in reverse.
-
#rows(value) ⇒ Object
Number of rows in textarea.
-
#rowspan(value) ⇒ Object
Number of rows a cell spans.
-
#sandbox(value) ⇒ Object
Security rules for iframe.
-
#scope(value) ⇒ Object
Cells header element relates to.
-
#selected(value) ⇒ Object
Option is pre-selected.
-
#shape(value) ⇒ Object
Shape of image map area.
-
#size(value) ⇒ Object
Size of input/select control.
-
#sizes(value) ⇒ Object
Image sizes for different layouts.
-
#span(value) ⇒ Object
Specifies the number of consecutive columns the <colgroup> element spans.
-
#spellcheck(value) ⇒ Object
Element should be spellchecked.
-
#src(value) ⇒ Object
URL of resource.
-
#srcdoc(value) ⇒ Object
Content for inline frame.
-
#srclang(value) ⇒ Object
Language of text track.
-
#srcset(value) ⇒ Object
Images to use in different situations.
-
#start(value) ⇒ Object
Starting number for ordered list.
-
#step(value) ⇒ Object
Increment for numeric input.
-
#style(value) ⇒ Object
Inline CSS styles.
-
#tabindex(value) ⇒ Object
Position in tab order.
-
#target(value) ⇒ Object
Where to open linked document.
-
#title(value) ⇒ Object
Advisory information about element.
-
#translate(value) ⇒ Object
Whether to translate content.
-
#type(value) ⇒ Object
Type of element or input.
-
#usemap(value) ⇒ Object
Image map to use.
-
#value(value) ⇒ Object
Value of form control.
-
#width(value) ⇒ Object
Width of element.
-
#wrap(value) ⇒ Object
How text wraps in textarea.
Instance Method Details
#accept(value) ⇒ Object
Specifies file types browser will accept
7 8 |
# File 'lib/fun_html/spec_attributes.rb', line 7 def accept(value) = write(' accept="', value) # Character encodings used for form submission |
#accept_charset(value) ⇒ Object
Character encodings used for form submission
9 10 |
# File 'lib/fun_html/spec_attributes.rb', line 9 def accept_charset(value) = write(' accept-charset="', value) # Keyboard shortcut to access element |
#accesskey(value) ⇒ Object
Keyboard shortcut to access element
11 12 |
# File 'lib/fun_html/spec_attributes.rb', line 11 def accesskey(value) = write(' accesskey="', value) # URL where form data is submitted |
#action(value) ⇒ Object
URL where form data is submitted
13 14 |
# File 'lib/fun_html/spec_attributes.rb', line 13 def action(value) = write(' action="', value) # Alignment of content |
#align(value) ⇒ Object
Alignment of content
15 16 |
# File 'lib/fun_html/spec_attributes.rb', line 15 def align(value) = write(' align="', value) # Alternative text for images |
#alt(value) ⇒ Object
Alternative text for images
17 18 |
# File 'lib/fun_html/spec_attributes.rb', line 17 def alt(value) = write(' alt="', value) # Script should execute asynchronously |
#async(value) ⇒ Object
Script should execute asynchronously
19 20 |
# File 'lib/fun_html/spec_attributes.rb', line 19 def async(value) = write_boolean(' async', value) # Form/input autocompletion |
#autocomplete(value) ⇒ Object
Form/input autocompletion
21 22 |
# File 'lib/fun_html/spec_attributes.rb', line 21 def autocomplete(value) = write(' autocomplete="', value) # Element should be focused on page load |
#autofocus(value) ⇒ Object
Element should be focused on page load
23 24 |
# File 'lib/fun_html/spec_attributes.rb', line 23 def autofocus(value) = write_boolean(' autofocus', value) # Media will start playing automatically |
#autoplay(value) ⇒ Object
Media will start playing automatically
25 26 |
# File 'lib/fun_html/spec_attributes.rb', line 25 def autoplay(value) = write_boolean(' autoplay', value) # Background color of element |
#bgcolor(value) ⇒ Object
Background color of element
27 28 |
# File 'lib/fun_html/spec_attributes.rb', line 27 def bgcolor(value) = write(' bgcolor="', value) # Border width in pixels |
#border(value) ⇒ Object
Border width in pixels
29 30 |
# File 'lib/fun_html/spec_attributes.rb', line 29 def border(value) = write(' border="', value) # Character encoding of document |
#charset(value) ⇒ Object
Character encoding of document
31 32 |
# File 'lib/fun_html/spec_attributes.rb', line 31 def charset(value) = write(' charset="', value) # Whether checkbox/radio button is selected |
#checked(value) ⇒ Object
Whether checkbox/radio button is selected
33 34 |
# File 'lib/fun_html/spec_attributes.rb', line 33 def checked(value) = write_boolean(' checked', value) # Number of columns in textarea |
#cols(value) ⇒ Object
Number of columns in textarea
35 36 |
# File 'lib/fun_html/spec_attributes.rb', line 35 def cols(value) = write(' cols="', value) # Number of columns a cell spans |
#colspan(value) ⇒ Object
Number of columns a cell spans
37 38 |
# File 'lib/fun_html/spec_attributes.rb', line 37 def colspan(value) = write(' colspan="', value) # Content for meta tags |
#content(value) ⇒ Object
Content for meta tags
39 40 |
# File 'lib/fun_html/spec_attributes.rb', line 39 def content(value) = write(' content="', value) # Whether content is editable |
#contenteditable(value) ⇒ Object
Whether content is editable
41 42 |
# File 'lib/fun_html/spec_attributes.rb', line 41 def contenteditable(value) = write(' contenteditable="', value) # Show media playback controls |
#controls(value) ⇒ Object
Show media playback controls
43 44 |
# File 'lib/fun_html/spec_attributes.rb', line 43 def controls(value) = write_boolean(' controls', value) # Coordinates for image maps |
#coords(value) ⇒ Object
Coordinates for image maps
45 46 |
# File 'lib/fun_html/spec_attributes.rb', line 45 def coords(value) = write(' coords="', value) # Date/time of element content |
#datetime(value) ⇒ Object
Date/time of element content
47 48 |
# File 'lib/fun_html/spec_attributes.rb', line 47 def datetime(value) = write(' datetime="', value) # Default track for media |
#default(value) ⇒ Object
Default track for media
49 50 |
# File 'lib/fun_html/spec_attributes.rb', line 49 def default(value) = write_boolean(' default', value) # Script should execute after parsing |
#defer(value) ⇒ Object
Script should execute after parsing
51 52 |
# File 'lib/fun_html/spec_attributes.rb', line 51 def defer(value) = write_boolean(' defer', value) # Text direction |
#dir(value) ⇒ Object
Text direction
53 54 |
# File 'lib/fun_html/spec_attributes.rb', line 53 def dir(value) = write(' dir="', value) # Element is disabled |
#disabled(value) ⇒ Object
Element is disabled
55 56 |
# File 'lib/fun_html/spec_attributes.rb', line 55 def disabled(value) = write_boolean(' disabled', value) # Resource should be downloaded |
#download(value) ⇒ Object
Resource should be downloaded
57 58 |
# File 'lib/fun_html/spec_attributes.rb', line 57 def download(value) = write(' download="', value) # Element can be dragged |
#draggable(value) ⇒ Object
Element can be dragged
59 60 |
# File 'lib/fun_html/spec_attributes.rb', line 59 def draggable(value) = write(' draggable="', value) # Form data encoding for submission |
#enctype(value) ⇒ Object
Form data encoding for submission
61 62 |
# File 'lib/fun_html/spec_attributes.rb', line 61 def enctype(value) = write(' enctype="', value) # Associates label with form control |
#for(value) ⇒ Object
Associates label with form control
63 64 |
# File 'lib/fun_html/spec_attributes.rb', line 63 def for(value) = write(' for="', value) # Form the element belongs to |
#form(value) ⇒ Object
Form the element belongs to
65 66 |
# File 'lib/fun_html/spec_attributes.rb', line 65 def form(value) = write(' form="', value) # URL for form submission |
#formaction(value) ⇒ Object
URL for form submission
67 68 |
# File 'lib/fun_html/spec_attributes.rb', line 67 def formaction(value) = write(' formaction="', value) # Related header cells for data cell |
#headers(value) ⇒ Object
Related header cells for data cell
69 70 |
# File 'lib/fun_html/spec_attributes.rb', line 69 def headers(value) = write(' headers="', value) # Height of element |
#height(value) ⇒ Object
Height of element
71 72 |
# File 'lib/fun_html/spec_attributes.rb', line 71 def height(value) = write(' height="', value) # Element is not displayed |
#hidden(value) ⇒ Object
Element is not displayed
73 74 |
# File 'lib/fun_html/spec_attributes.rb', line 73 def hidden(value) = write_boolean(' hidden', value) # Upper range of meter |
#high(value) ⇒ Object
Upper range of meter
75 76 |
# File 'lib/fun_html/spec_attributes.rb', line 75 def high(value) = write(' high="', value) # URL of linked resource |
#href(value) ⇒ Object
URL of linked resource
77 78 |
# File 'lib/fun_html/spec_attributes.rb', line 77 def href(value) = write(' href="', value) # Language of linked resource |
#hreflang(value) ⇒ Object
Language of linked resource
79 80 |
# File 'lib/fun_html/spec_attributes.rb', line 79 def hreflang(value) = write(' hreflang="', value) # Unique identifier for element |
#id(value) ⇒ Object
Unique identifier for element
81 82 |
# File 'lib/fun_html/spec_attributes.rb', line 81 def id(value) = write(' id="', value) # Subresource integrity hash |
#integrity(value) ⇒ Object
Subresource integrity hash
83 84 |
# File 'lib/fun_html/spec_attributes.rb', line 83 def integrity(value) = write(' integrity="', value) # Image is server-side image map |
#ismap(value) ⇒ Object
Image is server-side image map
85 86 |
# File 'lib/fun_html/spec_attributes.rb', line 85 def ismap(value) = write_boolean(' ismap', value) # Type of text track |
#kind(value) ⇒ Object
Type of text track
87 88 |
# File 'lib/fun_html/spec_attributes.rb', line 87 def kind(value) = write(' kind="', value) # Label for form control/option |
#label(value) ⇒ Object
Label for form control/option
89 90 |
# File 'lib/fun_html/spec_attributes.rb', line 89 def label(value) = write(' label="', value) # Language of element content |
#lang(value) ⇒ Object
Language of element content
91 92 |
# File 'lib/fun_html/spec_attributes.rb', line 91 def lang(value) = write(' lang="', value) # Links input to datalist options |
#list(value) ⇒ Object
Links input to datalist options
93 94 |
# File 'lib/fun_html/spec_attributes.rb', line 93 def list(value) = write(' list="', value) # Media will replay when finished |
#loop(value) ⇒ Object
Media will replay when finished
95 96 |
# File 'lib/fun_html/spec_attributes.rb', line 95 def loop(value) = write_boolean(' loop', value) # Lower range of meter |
#low(value) ⇒ Object
Lower range of meter
97 98 |
# File 'lib/fun_html/spec_attributes.rb', line 97 def low(value) = write(' low="', value) # Maximum allowed value |
#max(value) ⇒ Object
Maximum allowed value
99 100 |
# File 'lib/fun_html/spec_attributes.rb', line 99 def max(value) = write(' max="', value) # Maximum length of input |
#maxlength(value) ⇒ Object
Maximum length of input
101 102 |
# File 'lib/fun_html/spec_attributes.rb', line 101 def maxlength(value) = write(' maxlength="', value) # Media type for resource |
#media(value) ⇒ Object
Media type for resource
103 104 |
# File 'lib/fun_html/spec_attributes.rb', line 103 def media(value) = write(' media="', value) # HTTP method for form submission |
#method(value) ⇒ Object
HTTP method for form submission
105 106 |
# File 'lib/fun_html/spec_attributes.rb', line 105 def method(value) = write(' method="', value) # Minimum allowed value |
#min(value) ⇒ Object
Minimum allowed value
107 108 |
# File 'lib/fun_html/spec_attributes.rb', line 107 def min(value) = write(' min="', value) # Multiple values can be selected |
#multiple(value) ⇒ Object
Multiple values can be selected
109 110 |
# File 'lib/fun_html/spec_attributes.rb', line 109 def multiple(value) = write_boolean(' multiple', value) # Media is muted by default |
#muted(value) ⇒ Object
Media is muted by default
111 112 |
# File 'lib/fun_html/spec_attributes.rb', line 111 def muted(value) = write_boolean(' muted', value) # Name of form control |
#name(value) ⇒ Object
Name of form control
113 114 |
# File 'lib/fun_html/spec_attributes.rb', line 113 def name(value) = write(' name="', value) # Form validation is skipped |
#novalidate(value) ⇒ Object
Form validation is skipped
115 116 |
# File 'lib/fun_html/spec_attributes.rb', line 115 def novalidate(value) = write_boolean(' novalidate', value) # Details element is expanded |
#onabort(value) ⇒ Object
188 |
# File 'lib/fun_html/spec_attributes.rb', line 188 def onabort(value) = write(' onabort="', value) |
#onauxclick(value) ⇒ Object
189 |
# File 'lib/fun_html/spec_attributes.rb', line 189 def onauxclick(value) = write(' onauxclick="', value) |
#onbeforeinput(value) ⇒ Object
190 |
# File 'lib/fun_html/spec_attributes.rb', line 190 def onbeforeinput(value) = write(' onbeforeinput="', value) |
#onbeforematch(value) ⇒ Object
191 |
# File 'lib/fun_html/spec_attributes.rb', line 191 def onbeforematch(value) = write(' onbeforematch="', value) |
#onbeforetoggle(value) ⇒ Object
192 |
# File 'lib/fun_html/spec_attributes.rb', line 192 def onbeforetoggle(value) = write(' onbeforetoggle="', value) |
#oncancel(value) ⇒ Object
193 |
# File 'lib/fun_html/spec_attributes.rb', line 193 def oncancel(value) = write(' oncancel="', value) |
#oncanplay(value) ⇒ Object
194 |
# File 'lib/fun_html/spec_attributes.rb', line 194 def oncanplay(value) = write(' oncanplay="', value) |
#oncanplaythrough(value) ⇒ Object
195 |
# File 'lib/fun_html/spec_attributes.rb', line 195 def oncanplaythrough(value) = write(' oncanplaythrough="', value) |
#onchange(value) ⇒ Object
196 |
# File 'lib/fun_html/spec_attributes.rb', line 196 def onchange(value) = write(' onchange="', value) |
#onclick(value) ⇒ Object
197 |
# File 'lib/fun_html/spec_attributes.rb', line 197 def onclick(value) = write(' onclick="', value) |
#onclose(value) ⇒ Object
198 |
# File 'lib/fun_html/spec_attributes.rb', line 198 def onclose(value) = write(' onclose="', value) |
#oncontextlost(value) ⇒ Object
199 |
# File 'lib/fun_html/spec_attributes.rb', line 199 def oncontextlost(value) = write(' oncontextlost="', value) |
#oncontextmenu(value) ⇒ Object
200 |
# File 'lib/fun_html/spec_attributes.rb', line 200 def (value) = write(' oncontextmenu="', value) |
#oncontextrestored(value) ⇒ Object
201 |
# File 'lib/fun_html/spec_attributes.rb', line 201 def oncontextrestored(value) = write(' oncontextrestored="', value) |
#oncopy(value) ⇒ Object
202 |
# File 'lib/fun_html/spec_attributes.rb', line 202 def oncopy(value) = write(' oncopy="', value) |
#oncuechange(value) ⇒ Object
203 |
# File 'lib/fun_html/spec_attributes.rb', line 203 def oncuechange(value) = write(' oncuechange="', value) |
#oncut(value) ⇒ Object
204 |
# File 'lib/fun_html/spec_attributes.rb', line 204 def oncut(value) = write(' oncut="', value) |
#ondblclick(value) ⇒ Object
205 |
# File 'lib/fun_html/spec_attributes.rb', line 205 def ondblclick(value) = write(' ondblclick="', value) |
#ondrag(value) ⇒ Object
206 |
# File 'lib/fun_html/spec_attributes.rb', line 206 def ondrag(value) = write(' ondrag="', value) |
#ondragend(value) ⇒ Object
207 |
# File 'lib/fun_html/spec_attributes.rb', line 207 def ondragend(value) = write(' ondragend="', value) |
#ondragenter(value) ⇒ Object
208 |
# File 'lib/fun_html/spec_attributes.rb', line 208 def ondragenter(value) = write(' ondragenter="', value) |
#ondragleave(value) ⇒ Object
209 |
# File 'lib/fun_html/spec_attributes.rb', line 209 def ondragleave(value) = write(' ondragleave="', value) |
#ondragover(value) ⇒ Object
210 |
# File 'lib/fun_html/spec_attributes.rb', line 210 def ondragover(value) = write(' ondragover="', value) |
#ondragstart(value) ⇒ Object
211 |
# File 'lib/fun_html/spec_attributes.rb', line 211 def ondragstart(value) = write(' ondragstart="', value) |
#ondrop(value) ⇒ Object
212 |
# File 'lib/fun_html/spec_attributes.rb', line 212 def ondrop(value) = write(' ondrop="', value) |
#ondurationchange(value) ⇒ Object
213 |
# File 'lib/fun_html/spec_attributes.rb', line 213 def ondurationchange(value) = write(' ondurationchange="', value) |
#onemptied(value) ⇒ Object
214 |
# File 'lib/fun_html/spec_attributes.rb', line 214 def onemptied(value) = write(' onemptied="', value) |
#onended(value) ⇒ Object
215 |
# File 'lib/fun_html/spec_attributes.rb', line 215 def onended(value) = write(' onended="', value) |
#onformdata(value) ⇒ Object
216 |
# File 'lib/fun_html/spec_attributes.rb', line 216 def onformdata(value) = write(' onformdata="', value) |
#oninput(value) ⇒ Object
217 |
# File 'lib/fun_html/spec_attributes.rb', line 217 def oninput(value) = write(' oninput="', value) |
#oninvalid(value) ⇒ Object
218 |
# File 'lib/fun_html/spec_attributes.rb', line 218 def oninvalid(value) = write(' oninvalid="', value) |
#onkeydown(value) ⇒ Object
219 |
# File 'lib/fun_html/spec_attributes.rb', line 219 def onkeydown(value) = write(' onkeydown="', value) |
#onkeypress(value) ⇒ Object
220 |
# File 'lib/fun_html/spec_attributes.rb', line 220 def onkeypress(value) = write(' onkeypress="', value) |
#onkeyup(value) ⇒ Object
221 |
# File 'lib/fun_html/spec_attributes.rb', line 221 def onkeyup(value) = write(' onkeyup="', value) |
#onloadeddata(value) ⇒ Object
222 |
# File 'lib/fun_html/spec_attributes.rb', line 222 def onloadeddata(value) = write(' onloadeddata="', value) |
#onloadedmetadata(value) ⇒ Object
223 |
# File 'lib/fun_html/spec_attributes.rb', line 223 def (value) = write(' onloadedmetadata="', value) |
#onloadstart(value) ⇒ Object
224 |
# File 'lib/fun_html/spec_attributes.rb', line 224 def onloadstart(value) = write(' onloadstart="', value) |
#onmousedown(value) ⇒ Object
225 |
# File 'lib/fun_html/spec_attributes.rb', line 225 def onmousedown(value) = write(' onmousedown="', value) |
#onmouseenter(value) ⇒ Object
226 |
# File 'lib/fun_html/spec_attributes.rb', line 226 def onmouseenter(value) = write(' onmouseenter="', value) |
#onmouseleave(value) ⇒ Object
227 |
# File 'lib/fun_html/spec_attributes.rb', line 227 def onmouseleave(value) = write(' onmouseleave="', value) |
#onmousemove(value) ⇒ Object
228 |
# File 'lib/fun_html/spec_attributes.rb', line 228 def onmousemove(value) = write(' onmousemove="', value) |
#onmouseout(value) ⇒ Object
229 |
# File 'lib/fun_html/spec_attributes.rb', line 229 def onmouseout(value) = write(' onmouseout="', value) |
#onmouseover(value) ⇒ Object
230 |
# File 'lib/fun_html/spec_attributes.rb', line 230 def onmouseover(value) = write(' onmouseover="', value) |
#onmouseup(value) ⇒ Object
231 |
# File 'lib/fun_html/spec_attributes.rb', line 231 def onmouseup(value) = write(' onmouseup="', value) |
#onpaste(value) ⇒ Object
232 |
# File 'lib/fun_html/spec_attributes.rb', line 232 def onpaste(value) = write(' onpaste="', value) |
#onpause(value) ⇒ Object
233 |
# File 'lib/fun_html/spec_attributes.rb', line 233 def onpause(value) = write(' onpause="', value) |
#onplay(value) ⇒ Object
234 |
# File 'lib/fun_html/spec_attributes.rb', line 234 def onplay(value) = write(' onplay="', value) |
#onplaying(value) ⇒ Object
235 |
# File 'lib/fun_html/spec_attributes.rb', line 235 def (value) = write(' onplaying="', value) |
#onprogress(value) ⇒ Object
236 |
# File 'lib/fun_html/spec_attributes.rb', line 236 def onprogress(value) = write(' onprogress="', value) |
#onratechange(value) ⇒ Object
237 |
# File 'lib/fun_html/spec_attributes.rb', line 237 def onratechange(value) = write(' onratechange="', value) |
#onreset(value) ⇒ Object
238 |
# File 'lib/fun_html/spec_attributes.rb', line 238 def onreset(value) = write(' onreset="', value) |
#onscrollend(value) ⇒ Object
239 |
# File 'lib/fun_html/spec_attributes.rb', line 239 def onscrollend(value) = write(' onscrollend="', value) |
#onsecuritypolicyviolation(value) ⇒ Object
240 |
# File 'lib/fun_html/spec_attributes.rb', line 240 def onsecuritypolicyviolation(value) = write(' onsecuritypolicyviolation="', value) |
#onseeked(value) ⇒ Object
241 |
# File 'lib/fun_html/spec_attributes.rb', line 241 def onseeked(value) = write(' onseeked="', value) |
#onseeking(value) ⇒ Object
242 |
# File 'lib/fun_html/spec_attributes.rb', line 242 def onseeking(value) = write(' onseeking="', value) |
#onselect(value) ⇒ Object
243 |
# File 'lib/fun_html/spec_attributes.rb', line 243 def onselect(value) = write(' onselect="', value) |
#onslotchange(value) ⇒ Object
244 |
# File 'lib/fun_html/spec_attributes.rb', line 244 def onslotchange(value) = write(' onslotchange="', value) |
#onstalled(value) ⇒ Object
245 |
# File 'lib/fun_html/spec_attributes.rb', line 245 def onstalled(value) = write(' onstalled="', value) |
#onsubmit(value) ⇒ Object
246 |
# File 'lib/fun_html/spec_attributes.rb', line 246 def onsubmit(value) = write(' onsubmit="', value) |
#onsuspend(value) ⇒ Object
247 |
# File 'lib/fun_html/spec_attributes.rb', line 247 def onsuspend(value) = write(' onsuspend="', value) |
#ontimeupdate(value) ⇒ Object
248 |
# File 'lib/fun_html/spec_attributes.rb', line 248 def ontimeupdate(value) = write(' ontimeupdate="', value) |
#ontoggle(value) ⇒ Object
249 |
# File 'lib/fun_html/spec_attributes.rb', line 249 def ontoggle(value) = write(' ontoggle="', value) |
#onvolumechange(value) ⇒ Object
250 |
# File 'lib/fun_html/spec_attributes.rb', line 250 def onvolumechange(value) = write(' onvolumechange="', value) |
#onwaiting(value) ⇒ Object
251 |
# File 'lib/fun_html/spec_attributes.rb', line 251 def onwaiting(value) = write(' onwaiting="', value) |
#onwheel(value) ⇒ Object
252 |
# File 'lib/fun_html/spec_attributes.rb', line 252 def onwheel(value) = write(' onwheel="', value) |
#open(value) ⇒ Object
Details element is expanded
117 118 |
# File 'lib/fun_html/spec_attributes.rb', line 117 def open(value) = write_boolean(' open', value) # Optimal value for meter |
#optimum(value) ⇒ Object
Optimal value for meter
119 120 |
# File 'lib/fun_html/spec_attributes.rb', line 119 def optimum(value) = write(' optimum="', value) # Regular expression pattern |
#pattern(value) ⇒ Object
Regular expression pattern
121 122 |
# File 'lib/fun_html/spec_attributes.rb', line 121 def pattern(value) = write(' pattern="', value) # Hint text for input field |
#placeholder(value) ⇒ Object
Hint text for input field
123 124 |
# File 'lib/fun_html/spec_attributes.rb', line 123 def placeholder(value) = write(' placeholder="', value) # Preview image for video |
#poster(value) ⇒ Object
Preview image for video
125 126 |
# File 'lib/fun_html/spec_attributes.rb', line 125 def poster(value) = write(' poster="', value) # How media should be loaded |
#preload(value) ⇒ Object
How media should be loaded
127 128 |
# File 'lib/fun_html/spec_attributes.rb', line 127 def preload(value) = write(' preload="', value) # Input field cannot be modified |
#readonly(value) ⇒ Object
Input field cannot be modified
129 130 |
# File 'lib/fun_html/spec_attributes.rb', line 129 def readonly(value) = write_boolean(' readonly', value) # Relationship of linked resource |
#rel(value) ⇒ Object
Relationship of linked resource
131 132 |
# File 'lib/fun_html/spec_attributes.rb', line 131 def rel(value) = write(' rel="', value) # Input must be filled out |
#required(value) ⇒ Object
Input must be filled out
133 134 |
# File 'lib/fun_html/spec_attributes.rb', line 133 def required(value) = write_boolean(' required', value) # List is numbered in reverse |
#reversed(value) ⇒ Object
List is numbered in reverse
135 136 |
# File 'lib/fun_html/spec_attributes.rb', line 135 def reversed(value) = write_boolean(' reversed', value) # Number of rows in textarea |
#rows(value) ⇒ Object
Number of rows in textarea
137 138 |
# File 'lib/fun_html/spec_attributes.rb', line 137 def rows(value) = write(' rows="', value) # Number of rows a cell spans |
#rowspan(value) ⇒ Object
Number of rows a cell spans
139 140 |
# File 'lib/fun_html/spec_attributes.rb', line 139 def rowspan(value) = write(' rowspan="', value) # Security rules for iframe |
#sandbox(value) ⇒ Object
Security rules for iframe
141 142 |
# File 'lib/fun_html/spec_attributes.rb', line 141 def sandbox(value) = write(' sandbox="', value) # Specifies the number of consecutive columns the <colgroup> element spans. The value must be a positive integer greater than zero. If not present, its default value is 1. |
#scope(value) ⇒ Object
Cells header element relates to
145 146 |
# File 'lib/fun_html/spec_attributes.rb', line 145 def scope(value) = write(' scope="', value) # Option is pre-selected |
#selected(value) ⇒ Object
Option is pre-selected
147 148 |
# File 'lib/fun_html/spec_attributes.rb', line 147 def selected(value) = write_boolean(' selected', value) # Shape of image map area |
#shape(value) ⇒ Object
Shape of image map area
149 150 |
# File 'lib/fun_html/spec_attributes.rb', line 149 def shape(value) = write(' shape="', value) # Size of input/select control |
#size(value) ⇒ Object
Size of input/select control
151 152 |
# File 'lib/fun_html/spec_attributes.rb', line 151 def size(value) = write(' size="', value) # Image sizes for different layouts |
#sizes(value) ⇒ Object
Image sizes for different layouts
153 154 |
# File 'lib/fun_html/spec_attributes.rb', line 153 def sizes(value) = write(' sizes="', value) # Element should be spellchecked |
#span(value) ⇒ Object
Specifies the number of consecutive columns the <colgroup> element spans. The value must be a positive integer greater than zero. If not present, its default value is 1.
143 144 |
# File 'lib/fun_html/spec_attributes.rb', line 143 def span(value) = write(' span="', value) # Cells header element relates to |
#spellcheck(value) ⇒ Object
Element should be spellchecked
155 156 |
# File 'lib/fun_html/spec_attributes.rb', line 155 def spellcheck(value) = write(' spellcheck="', value) # URL of resource |
#src(value) ⇒ Object
URL of resource
157 158 |
# File 'lib/fun_html/spec_attributes.rb', line 157 def src(value) = write(' src="', value) # Content for inline frame |
#srcdoc(value) ⇒ Object
Content for inline frame
159 160 |
# File 'lib/fun_html/spec_attributes.rb', line 159 def srcdoc(value) = write(' srcdoc="', value) # Language of text track |
#srclang(value) ⇒ Object
Language of text track
161 162 |
# File 'lib/fun_html/spec_attributes.rb', line 161 def srclang(value) = write(' srclang="', value) # Images to use in different situations |
#srcset(value) ⇒ Object
Images to use in different situations
163 164 |
# File 'lib/fun_html/spec_attributes.rb', line 163 def srcset(value) = write(' srcset="', value) # Starting number for ordered list |
#start(value) ⇒ Object
Starting number for ordered list
165 166 |
# File 'lib/fun_html/spec_attributes.rb', line 165 def start(value) = write(' start="', value) # Increment for numeric input |
#step(value) ⇒ Object
Increment for numeric input
167 168 |
# File 'lib/fun_html/spec_attributes.rb', line 167 def step(value) = write(' step="', value) # Inline CSS styles |
#style(value) ⇒ Object
Inline CSS styles
169 170 |
# File 'lib/fun_html/spec_attributes.rb', line 169 def style(value) = write(' style="', value) # Position in tab order |
#tabindex(value) ⇒ Object
Position in tab order
171 172 |
# File 'lib/fun_html/spec_attributes.rb', line 171 def tabindex(value) = write(' tabindex="', value) # Where to open linked document |
#target(value) ⇒ Object
Where to open linked document
173 174 |
# File 'lib/fun_html/spec_attributes.rb', line 173 def target(value) = write(' target="', value) # Advisory information about element |
#title(value) ⇒ Object
Advisory information about element
175 176 |
# File 'lib/fun_html/spec_attributes.rb', line 175 def title(value) = write(' title="', value) # Whether to translate content |
#translate(value) ⇒ Object
Whether to translate content
177 178 |
# File 'lib/fun_html/spec_attributes.rb', line 177 def translate(value) = write(' translate="', value) # Type of element or input |
#type(value) ⇒ Object
Type of element or input
179 180 |
# File 'lib/fun_html/spec_attributes.rb', line 179 def type(value) = write(' type="', value) # Image map to use |
#usemap(value) ⇒ Object
Image map to use
181 182 |
# File 'lib/fun_html/spec_attributes.rb', line 181 def usemap(value) = write(' usemap="', value) # Value of form control |
#value(value) ⇒ Object
Value of form control
183 184 |
# File 'lib/fun_html/spec_attributes.rb', line 183 def value(value) = write(' value="', value) # Width of element |
#width(value) ⇒ Object
Width of element
185 186 |
# File 'lib/fun_html/spec_attributes.rb', line 185 def width(value) = write(' width="', value) # How text wraps in textarea |
#wrap(value) ⇒ Object
How text wraps in textarea
187 |
# File 'lib/fun_html/spec_attributes.rb', line 187 def wrap(value) = write(' wrap="', value) |