This module exports combinators that provide you with the ability to set attributes on HTML elements.
- abbr :: AttributeValue -> Attribute
- accept :: AttributeValue -> Attribute
- accesskey :: AttributeValue -> Attribute
- action :: AttributeValue -> Attribute
- align :: AttributeValue -> Attribute
- alt :: AttributeValue -> Attribute
- archive :: AttributeValue -> Attribute
- axis :: AttributeValue -> Attribute
- border :: AttributeValue -> Attribute
- cellpadding :: AttributeValue -> Attribute
- cellspacing :: AttributeValue -> Attribute
- char :: AttributeValue -> Attribute
- charoff :: AttributeValue -> Attribute
- charset :: AttributeValue -> Attribute
- checked :: AttributeValue -> Attribute
- cite :: AttributeValue -> Attribute
- class_ :: AttributeValue -> Attribute
- classid :: AttributeValue -> Attribute
- codebase :: AttributeValue -> Attribute
- codetype :: AttributeValue -> Attribute
- cols :: AttributeValue -> Attribute
- colspan :: AttributeValue -> Attribute
- content :: AttributeValue -> Attribute
- coords :: AttributeValue -> Attribute
- data_ :: AttributeValue -> Attribute
- datetime :: AttributeValue -> Attribute
- declare :: AttributeValue -> Attribute
- defer :: AttributeValue -> Attribute
- dir :: AttributeValue -> Attribute
- disabled :: AttributeValue -> Attribute
- for :: AttributeValue -> Attribute
- frame :: AttributeValue -> Attribute
- headers :: AttributeValue -> Attribute
- height :: AttributeValue -> Attribute
- href :: AttributeValue -> Attribute
- hreflang :: AttributeValue -> Attribute
- http_equiv :: AttributeValue -> Attribute
- id :: AttributeValue -> Attribute
- label :: AttributeValue -> Attribute
- lang :: AttributeValue -> Attribute
- maxlength :: AttributeValue -> Attribute
- media :: AttributeValue -> Attribute
- method :: AttributeValue -> Attribute
- multiple :: AttributeValue -> Attribute
- name :: AttributeValue -> Attribute
- nohref :: AttributeValue -> Attribute
- onabort :: AttributeValue -> Attribute
- onblur :: AttributeValue -> Attribute
- onchange :: AttributeValue -> Attribute
- onclick :: AttributeValue -> Attribute
- ondblclick :: AttributeValue -> Attribute
- onfocus :: AttributeValue -> Attribute
- onkeydown :: AttributeValue -> Attribute
- onkeypress :: AttributeValue -> Attribute
- onkeyup :: AttributeValue -> Attribute
- onload :: AttributeValue -> Attribute
- onmousedown :: AttributeValue -> Attribute
- onmousemove :: AttributeValue -> Attribute
- onmouseout :: AttributeValue -> Attribute
- onmouseover :: AttributeValue -> Attribute
- onmouseup :: AttributeValue -> Attribute
- onreset :: AttributeValue -> Attribute
- onselect :: AttributeValue -> Attribute
- onsubmit :: AttributeValue -> Attribute
- onunload :: AttributeValue -> Attribute
- profile :: AttributeValue -> Attribute
- readonly :: AttributeValue -> Attribute
- rel :: AttributeValue -> Attribute
- rev :: AttributeValue -> Attribute
- rows :: AttributeValue -> Attribute
- rowspan :: AttributeValue -> Attribute
- rules :: AttributeValue -> Attribute
- scheme :: AttributeValue -> Attribute
- scope :: AttributeValue -> Attribute
- selected :: AttributeValue -> Attribute
- shape :: AttributeValue -> Attribute
- size :: AttributeValue -> Attribute
- span :: AttributeValue -> Attribute
- src :: AttributeValue -> Attribute
- standby :: AttributeValue -> Attribute
- style :: AttributeValue -> Attribute
- summary :: AttributeValue -> Attribute
- tabindex :: AttributeValue -> Attribute
- title :: AttributeValue -> Attribute
- type_ :: AttributeValue -> Attribute
- usemap :: AttributeValue -> Attribute
- valign :: AttributeValue -> Attribute
- value :: AttributeValue -> Attribute
- valuetype :: AttributeValue -> Attribute
- width :: AttributeValue -> Attribute
Documentation
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the abbr
attribute.
Example:
div <! abbr "bar" $ "Hello."
Result:
<div abbr="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the accept
attribute.
Example:
div <! accept "bar" $ "Hello."
Result:
<div accept="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the accesskey
attribute.
Example:
div <! accesskey "bar" $ "Hello."
Result:
<div accesskey="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the action
attribute.
Example:
div <! action "bar" $ "Hello."
Result:
<div action="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the align
attribute.
Example:
div <! align "bar" $ "Hello."
Result:
<div align="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the alt
attribute.
Example:
div <! alt "bar" $ "Hello."
Result:
<div alt="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the archive
attribute.
Example:
div <! archive "bar" $ "Hello."
Result:
<div archive="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the axis
attribute.
Example:
div <! axis "bar" $ "Hello."
Result:
<div axis="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the border
attribute.
Example:
div <! border "bar" $ "Hello."
Result:
<div border="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the cellpadding
attribute.
Example:
div <! cellpadding "bar" $ "Hello."
Result:
<div cellpadding="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the cellspacing
attribute.
Example:
div <! cellspacing "bar" $ "Hello."
Result:
<div cellspacing="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the char
attribute.
Example:
div <! char "bar" $ "Hello."
Result:
<div char="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the charoff
attribute.
Example:
div <! charoff "bar" $ "Hello."
Result:
<div charoff="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the charset
attribute.
Example:
div <! charset "bar" $ "Hello."
Result:
<div charset="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the checked
attribute.
Example:
div <! checked "bar" $ "Hello."
Result:
<div checked="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the cite
attribute.
Example:
div <! cite "bar" $ "Hello."
Result:
<div cite="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the class
attribute.
Example:
div <! class_ "bar" $ "Hello."
Result:
<div class="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the classid
attribute.
Example:
div <! classid "bar" $ "Hello."
Result:
<div classid="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the codebase
attribute.
Example:
div <! codebase "bar" $ "Hello."
Result:
<div codebase="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the codetype
attribute.
Example:
div <! codetype "bar" $ "Hello."
Result:
<div codetype="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the cols
attribute.
Example:
div <! cols "bar" $ "Hello."
Result:
<div cols="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the colspan
attribute.
Example:
div <! colspan "bar" $ "Hello."
Result:
<div colspan="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the content
attribute.
Example:
div <! content "bar" $ "Hello."
Result:
<div content="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the coords
attribute.
Example:
div <! coords "bar" $ "Hello."
Result:
<div coords="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the data
attribute.
Example:
div <! data_ "bar" $ "Hello."
Result:
<div data="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the datetime
attribute.
Example:
div <! datetime "bar" $ "Hello."
Result:
<div datetime="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the declare
attribute.
Example:
div <! declare "bar" $ "Hello."
Result:
<div declare="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the defer
attribute.
Example:
div <! defer "bar" $ "Hello."
Result:
<div defer="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the dir
attribute.
Example:
div <! dir "bar" $ "Hello."
Result:
<div dir="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the disabled
attribute.
Example:
div <! disabled "bar" $ "Hello."
Result:
<div disabled="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the for
attribute.
Example:
div <! for "bar" $ "Hello."
Result:
<div for="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the frame
attribute.
Example:
div <! frame "bar" $ "Hello."
Result:
<div frame="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the headers
attribute.
Example:
div <! headers "bar" $ "Hello."
Result:
<div headers="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the height
attribute.
Example:
div <! height "bar" $ "Hello."
Result:
<div height="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the href
attribute.
Example:
div <! href "bar" $ "Hello."
Result:
<div href="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the hreflang
attribute.
Example:
div <! hreflang "bar" $ "Hello."
Result:
<div hreflang="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the http-equiv
attribute.
Example:
div <! http_equiv "bar" $ "Hello."
Result:
<div http-equiv="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the id
attribute.
Example:
div <! id "bar" $ "Hello."
Result:
<div id="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the label
attribute.
Example:
div <! label "bar" $ "Hello."
Result:
<div label="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the lang
attribute.
Example:
div <! lang "bar" $ "Hello."
Result:
<div lang="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the maxlength
attribute.
Example:
div <! maxlength "bar" $ "Hello."
Result:
<div maxlength="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the media
attribute.
Example:
div <! media "bar" $ "Hello."
Result:
<div media="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the method
attribute.
Example:
div <! method "bar" $ "Hello."
Result:
<div method="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the multiple
attribute.
Example:
div <! multiple "bar" $ "Hello."
Result:
<div multiple="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the name
attribute.
Example:
div <! name "bar" $ "Hello."
Result:
<div name="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the nohref
attribute.
Example:
div <! nohref "bar" $ "Hello."
Result:
<div nohref="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onabort
attribute.
Example:
div <! onabort "bar" $ "Hello."
Result:
<div onabort="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onblur
attribute.
Example:
div <! onblur "bar" $ "Hello."
Result:
<div onblur="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onchange
attribute.
Example:
div <! onchange "bar" $ "Hello."
Result:
<div onchange="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onclick
attribute.
Example:
div <! onclick "bar" $ "Hello."
Result:
<div onclick="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the ondblclick
attribute.
Example:
div <! ondblclick "bar" $ "Hello."
Result:
<div ondblclick="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onfocus
attribute.
Example:
div <! onfocus "bar" $ "Hello."
Result:
<div onfocus="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onkeydown
attribute.
Example:
div <! onkeydown "bar" $ "Hello."
Result:
<div onkeydown="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onkeypress
attribute.
Example:
div <! onkeypress "bar" $ "Hello."
Result:
<div onkeypress="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onkeyup
attribute.
Example:
div <! onkeyup "bar" $ "Hello."
Result:
<div onkeyup="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onload
attribute.
Example:
div <! onload "bar" $ "Hello."
Result:
<div onload="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onmousedown
attribute.
Example:
div <! onmousedown "bar" $ "Hello."
Result:
<div onmousedown="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onmousemove
attribute.
Example:
div <! onmousemove "bar" $ "Hello."
Result:
<div onmousemove="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onmouseout
attribute.
Example:
div <! onmouseout "bar" $ "Hello."
Result:
<div onmouseout="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onmouseover
attribute.
Example:
div <! onmouseover "bar" $ "Hello."
Result:
<div onmouseover="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onmouseup
attribute.
Example:
div <! onmouseup "bar" $ "Hello."
Result:
<div onmouseup="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onreset
attribute.
Example:
div <! onreset "bar" $ "Hello."
Result:
<div onreset="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onselect
attribute.
Example:
div <! onselect "bar" $ "Hello."
Result:
<div onselect="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onsubmit
attribute.
Example:
div <! onsubmit "bar" $ "Hello."
Result:
<div onsubmit="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the onunload
attribute.
Example:
div <! onunload "bar" $ "Hello."
Result:
<div onunload="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the profile
attribute.
Example:
div <! profile "bar" $ "Hello."
Result:
<div profile="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the readonly
attribute.
Example:
div <! readonly "bar" $ "Hello."
Result:
<div readonly="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the rel
attribute.
Example:
div <! rel "bar" $ "Hello."
Result:
<div rel="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the rev
attribute.
Example:
div <! rev "bar" $ "Hello."
Result:
<div rev="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the rows
attribute.
Example:
div <! rows "bar" $ "Hello."
Result:
<div rows="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the rowspan
attribute.
Example:
div <! rowspan "bar" $ "Hello."
Result:
<div rowspan="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the rules
attribute.
Example:
div <! rules "bar" $ "Hello."
Result:
<div rules="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the scheme
attribute.
Example:
div <! scheme "bar" $ "Hello."
Result:
<div scheme="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the scope
attribute.
Example:
div <! scope "bar" $ "Hello."
Result:
<div scope="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the selected
attribute.
Example:
div <! selected "bar" $ "Hello."
Result:
<div selected="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the shape
attribute.
Example:
div <! shape "bar" $ "Hello."
Result:
<div shape="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the size
attribute.
Example:
div <! size "bar" $ "Hello."
Result:
<div size="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the span
attribute.
Example:
div <! span "bar" $ "Hello."
Result:
<div span="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the src
attribute.
Example:
div <! src "bar" $ "Hello."
Result:
<div src="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the standby
attribute.
Example:
div <! standby "bar" $ "Hello."
Result:
<div standby="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the style
attribute.
Example:
div <! style "bar" $ "Hello."
Result:
<div style="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the summary
attribute.
Example:
div <! summary "bar" $ "Hello."
Result:
<div summary="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the tabindex
attribute.
Example:
div <! tabindex "bar" $ "Hello."
Result:
<div tabindex="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the title
attribute.
Example:
div <! title "bar" $ "Hello."
Result:
<div title="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the type
attribute.
Example:
div <! type_ "bar" $ "Hello."
Result:
<div type="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the usemap
attribute.
Example:
div <! usemap "bar" $ "Hello."
Result:
<div usemap="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the valign
attribute.
Example:
div <! valign "bar" $ "Hello."
Result:
<div valign="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the value
attribute.
Example:
div <! value "bar" $ "Hello."
Result:
<div value="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the valuetype
attribute.
Example:
div <! valuetype "bar" $ "Hello."
Result:
<div valuetype="bar">Hello.</div>
:: AttributeValue | Attribute value. |
-> Attribute | Resulting attribute. |
Combinator for the width
attribute.
Example:
div <! width "bar" $ "Hello."
Result:
<div width="bar">Hello.</div>