-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A blazingly fast HTML generation library. -- -- A blazingly fast HTML generation library. @package blaze-html @version 0.1 -- | This module exports combinators that provide you with the ability to -- set attributes on HTML elements. module Text.Blaze.Html4.Strict.Attributes -- | Combinator for the abbr attribute. -- -- Example: -- --
-- div <! abbr "bar" $ "Hello." ---- -- Result: -- --
-- <div abbr="bar">Hello.</div> --abbr :: AttributeValue -> Attribute -- | Combinator for the accept attribute. -- -- Example: -- --
-- div <! accept "bar" $ "Hello." ---- -- Result: -- --
-- <div accept="bar">Hello.</div> --accept :: AttributeValue -> Attribute -- | Combinator for the accesskey attribute. -- -- Example: -- --
-- div <! accesskey "bar" $ "Hello." ---- -- Result: -- --
-- <div accesskey="bar">Hello.</div> --accesskey :: AttributeValue -> Attribute -- | Combinator for the action attribute. -- -- Example: -- --
-- div <! action "bar" $ "Hello." ---- -- Result: -- --
-- <div action="bar">Hello.</div> --action :: AttributeValue -> Attribute -- | Combinator for the align attribute. -- -- Example: -- --
-- div <! align "bar" $ "Hello." ---- -- Result: -- --
-- <div align="bar">Hello.</div> --align :: AttributeValue -> Attribute -- | Combinator for the alt attribute. -- -- Example: -- --
-- div <! alt "bar" $ "Hello." ---- -- Result: -- --
-- <div alt="bar">Hello.</div> --alt :: AttributeValue -> Attribute -- | Combinator for the archive attribute. -- -- Example: -- --
-- div <! archive "bar" $ "Hello." ---- -- Result: -- --
-- <div archive="bar">Hello.</div> --archive :: AttributeValue -> Attribute -- | Combinator for the axis attribute. -- -- Example: -- --
-- div <! axis "bar" $ "Hello." ---- -- Result: -- --
-- <div axis="bar">Hello.</div> --axis :: AttributeValue -> Attribute -- | Combinator for the border attribute. -- -- Example: -- --
-- div <! border "bar" $ "Hello." ---- -- Result: -- --
-- <div border="bar">Hello.</div> --border :: AttributeValue -> Attribute -- | Combinator for the cellpadding attribute. -- -- Example: -- --
-- div <! cellpadding "bar" $ "Hello." ---- -- Result: -- --
-- <div cellpadding="bar">Hello.</div> --cellpadding :: AttributeValue -> Attribute -- | Combinator for the cellspacing attribute. -- -- Example: -- --
-- div <! cellspacing "bar" $ "Hello." ---- -- Result: -- --
-- <div cellspacing="bar">Hello.</div> --cellspacing :: AttributeValue -> Attribute -- | Combinator for the char attribute. -- -- Example: -- --
-- div <! char "bar" $ "Hello." ---- -- Result: -- --
-- <div char="bar">Hello.</div> --char :: AttributeValue -> Attribute -- | Combinator for the charoff attribute. -- -- Example: -- --
-- div <! charoff "bar" $ "Hello." ---- -- Result: -- --
-- <div charoff="bar">Hello.</div> --charoff :: AttributeValue -> Attribute -- | Combinator for the charset attribute. -- -- Example: -- --
-- div <! charset "bar" $ "Hello." ---- -- Result: -- --
-- <div charset="bar">Hello.</div> --charset :: AttributeValue -> Attribute -- | Combinator for the checked attribute. -- -- Example: -- --
-- div <! checked "bar" $ "Hello." ---- -- Result: -- --
-- <div checked="bar">Hello.</div> --checked :: AttributeValue -> Attribute -- | Combinator for the cite attribute. -- -- Example: -- --
-- div <! cite "bar" $ "Hello." ---- -- Result: -- --
-- <div cite="bar">Hello.</div> --cite :: AttributeValue -> Attribute -- | Combinator for the class attribute. -- -- Example: -- --
-- div <! class_ "bar" $ "Hello." ---- -- Result: -- --
-- <div class="bar">Hello.</div> --class_ :: AttributeValue -> Attribute -- | Combinator for the classid attribute. -- -- Example: -- --
-- div <! classid "bar" $ "Hello." ---- -- Result: -- --
-- <div classid="bar">Hello.</div> --classid :: AttributeValue -> Attribute -- | Combinator for the codebase attribute. -- -- Example: -- --
-- div <! codebase "bar" $ "Hello." ---- -- Result: -- --
-- <div codebase="bar">Hello.</div> --codebase :: AttributeValue -> Attribute -- | Combinator for the codetype attribute. -- -- Example: -- --
-- div <! codetype "bar" $ "Hello." ---- -- Result: -- --
-- <div codetype="bar">Hello.</div> --codetype :: AttributeValue -> Attribute -- | Combinator for the cols attribute. -- -- Example: -- --
-- div <! cols "bar" $ "Hello." ---- -- Result: -- --
-- <div cols="bar">Hello.</div> --cols :: AttributeValue -> Attribute -- | Combinator for the colspan attribute. -- -- Example: -- --
-- div <! colspan "bar" $ "Hello." ---- -- Result: -- --
-- <div colspan="bar">Hello.</div> --colspan :: AttributeValue -> Attribute -- | Combinator for the content attribute. -- -- Example: -- --
-- div <! content "bar" $ "Hello." ---- -- Result: -- --
-- <div content="bar">Hello.</div> --content :: AttributeValue -> Attribute -- | Combinator for the coords attribute. -- -- Example: -- --
-- div <! coords "bar" $ "Hello." ---- -- Result: -- --
-- <div coords="bar">Hello.</div> --coords :: AttributeValue -> Attribute -- | Combinator for the data attribute. -- -- Example: -- --
-- div <! data_ "bar" $ "Hello." ---- -- Result: -- --
-- <div data="bar">Hello.</div> --data_ :: AttributeValue -> Attribute -- | Combinator for the datetime attribute. -- -- Example: -- --
-- div <! datetime "bar" $ "Hello." ---- -- Result: -- --
-- <div datetime="bar">Hello.</div> --datetime :: AttributeValue -> Attribute -- | Combinator for the declare attribute. -- -- Example: -- --
-- div <! declare "bar" $ "Hello." ---- -- Result: -- --
-- <div declare="bar">Hello.</div> --declare :: AttributeValue -> Attribute -- | Combinator for the defer attribute. -- -- Example: -- --
-- div <! defer "bar" $ "Hello." ---- -- Result: -- --
-- <div defer="bar">Hello.</div> --defer :: AttributeValue -> Attribute -- | Combinator for the dir attribute. -- -- Example: -- --
-- div <! dir "bar" $ "Hello." ---- -- Result: -- --
-- <div dir="bar">Hello.</div> --dir :: AttributeValue -> Attribute -- | Combinator for the disabled attribute. -- -- Example: -- --
-- div <! disabled "bar" $ "Hello." ---- -- Result: -- --
-- <div disabled="bar">Hello.</div> --disabled :: AttributeValue -> Attribute -- | Combinator for the for attribute. -- -- Example: -- --
-- div <! for "bar" $ "Hello." ---- -- Result: -- --
-- <div for="bar">Hello.</div> --for :: AttributeValue -> Attribute -- | Combinator for the frame attribute. -- -- Example: -- --
-- div <! frame "bar" $ "Hello." ---- -- Result: -- --
-- <div frame="bar">Hello.</div> --frame :: AttributeValue -> Attribute -- | Combinator for the headers attribute. -- -- Example: -- --
-- div <! headers "bar" $ "Hello." ---- -- Result: -- --
-- <div headers="bar">Hello.</div> --headers :: AttributeValue -> Attribute -- | Combinator for the height attribute. -- -- Example: -- --
-- div <! height "bar" $ "Hello." ---- -- Result: -- --
-- <div height="bar">Hello.</div> --height :: AttributeValue -> Attribute -- | Combinator for the href attribute. -- -- Example: -- --
-- div <! href "bar" $ "Hello." ---- -- Result: -- --
-- <div href="bar">Hello.</div> --href :: AttributeValue -> Attribute -- | Combinator for the hreflang attribute. -- -- Example: -- --
-- div <! hreflang "bar" $ "Hello." ---- -- Result: -- --
-- <div hreflang="bar">Hello.</div> --hreflang :: AttributeValue -> Attribute -- | Combinator for the http-equiv attribute. -- -- Example: -- --
-- div <! http_equiv "bar" $ "Hello." ---- -- Result: -- --
-- <div http-equiv="bar">Hello.</div> --http_equiv :: AttributeValue -> Attribute -- | Combinator for the id attribute. -- -- Example: -- --
-- div <! id "bar" $ "Hello." ---- -- Result: -- --
-- <div id="bar">Hello.</div> --id :: AttributeValue -> Attribute -- | Combinator for the label attribute. -- -- Example: -- --
-- div <! label "bar" $ "Hello." ---- -- Result: -- --
-- <div label="bar">Hello.</div> --label :: AttributeValue -> Attribute -- | Combinator for the lang attribute. -- -- Example: -- --
-- div <! lang "bar" $ "Hello." ---- -- Result: -- --
-- <div lang="bar">Hello.</div> --lang :: AttributeValue -> Attribute -- | Combinator for the maxlength attribute. -- -- Example: -- --
-- div <! maxlength "bar" $ "Hello." ---- -- Result: -- --
-- <div maxlength="bar">Hello.</div> --maxlength :: AttributeValue -> Attribute -- | Combinator for the media attribute. -- -- Example: -- --
-- div <! media "bar" $ "Hello." ---- -- Result: -- --
-- <div media="bar">Hello.</div> --media :: AttributeValue -> Attribute -- | Combinator for the method attribute. -- -- Example: -- --
-- div <! method "bar" $ "Hello." ---- -- Result: -- --
-- <div method="bar">Hello.</div> --method :: AttributeValue -> Attribute -- | Combinator for the multiple attribute. -- -- Example: -- --
-- div <! multiple "bar" $ "Hello." ---- -- Result: -- --
-- <div multiple="bar">Hello.</div> --multiple :: AttributeValue -> Attribute -- | Combinator for the name attribute. -- -- Example: -- --
-- div <! name "bar" $ "Hello." ---- -- Result: -- --
-- <div name="bar">Hello.</div> --name :: AttributeValue -> Attribute -- | Combinator for the nohref attribute. -- -- Example: -- --
-- div <! nohref "bar" $ "Hello." ---- -- Result: -- --
-- <div nohref="bar">Hello.</div> --nohref :: AttributeValue -> Attribute -- | Combinator for the onabort attribute. -- -- Example: -- --
-- div <! onabort "bar" $ "Hello." ---- -- Result: -- --
-- <div onabort="bar">Hello.</div> --onabort :: AttributeValue -> Attribute -- | Combinator for the onblur attribute. -- -- Example: -- --
-- div <! onblur "bar" $ "Hello." ---- -- Result: -- --
-- <div onblur="bar">Hello.</div> --onblur :: AttributeValue -> Attribute -- | Combinator for the onchange attribute. -- -- Example: -- --
-- div <! onchange "bar" $ "Hello." ---- -- Result: -- --
-- <div onchange="bar">Hello.</div> --onchange :: AttributeValue -> Attribute -- | Combinator for the onclick attribute. -- -- Example: -- --
-- div <! onclick "bar" $ "Hello." ---- -- Result: -- --
-- <div onclick="bar">Hello.</div> --onclick :: AttributeValue -> Attribute -- | Combinator for the ondblclick attribute. -- -- Example: -- --
-- div <! ondblclick "bar" $ "Hello." ---- -- Result: -- --
-- <div ondblclick="bar">Hello.</div> --ondblclick :: AttributeValue -> Attribute -- | Combinator for the onfocus attribute. -- -- Example: -- --
-- div <! onfocus "bar" $ "Hello." ---- -- Result: -- --
-- <div onfocus="bar">Hello.</div> --onfocus :: AttributeValue -> Attribute -- | Combinator for the onkeydown attribute. -- -- Example: -- --
-- div <! onkeydown "bar" $ "Hello." ---- -- Result: -- --
-- <div onkeydown="bar">Hello.</div> --onkeydown :: AttributeValue -> Attribute -- | Combinator for the onkeypress attribute. -- -- Example: -- --
-- div <! onkeypress "bar" $ "Hello." ---- -- Result: -- --
-- <div onkeypress="bar">Hello.</div> --onkeypress :: AttributeValue -> Attribute -- | Combinator for the onkeyup attribute. -- -- Example: -- --
-- div <! onkeyup "bar" $ "Hello." ---- -- Result: -- --
-- <div onkeyup="bar">Hello.</div> --onkeyup :: AttributeValue -> Attribute -- | Combinator for the onload attribute. -- -- Example: -- --
-- div <! onload "bar" $ "Hello." ---- -- Result: -- --
-- <div onload="bar">Hello.</div> --onload :: AttributeValue -> Attribute -- | Combinator for the onmousedown attribute. -- -- Example: -- --
-- div <! onmousedown "bar" $ "Hello." ---- -- Result: -- --
-- <div onmousedown="bar">Hello.</div> --onmousedown :: AttributeValue -> Attribute -- | Combinator for the onmousemove attribute. -- -- Example: -- --
-- div <! onmousemove "bar" $ "Hello." ---- -- Result: -- --
-- <div onmousemove="bar">Hello.</div> --onmousemove :: AttributeValue -> Attribute -- | Combinator for the onmouseout attribute. -- -- Example: -- --
-- div <! onmouseout "bar" $ "Hello." ---- -- Result: -- --
-- <div onmouseout="bar">Hello.</div> --onmouseout :: AttributeValue -> Attribute -- | Combinator for the onmouseover attribute. -- -- Example: -- --
-- div <! onmouseover "bar" $ "Hello." ---- -- Result: -- --
-- <div onmouseover="bar">Hello.</div> --onmouseover :: AttributeValue -> Attribute -- | Combinator for the onmouseup attribute. -- -- Example: -- --
-- div <! onmouseup "bar" $ "Hello." ---- -- Result: -- --
-- <div onmouseup="bar">Hello.</div> --onmouseup :: AttributeValue -> Attribute -- | Combinator for the onreset attribute. -- -- Example: -- --
-- div <! onreset "bar" $ "Hello." ---- -- Result: -- --
-- <div onreset="bar">Hello.</div> --onreset :: AttributeValue -> Attribute -- | Combinator for the onselect attribute. -- -- Example: -- --
-- div <! onselect "bar" $ "Hello." ---- -- Result: -- --
-- <div onselect="bar">Hello.</div> --onselect :: AttributeValue -> Attribute -- | Combinator for the onsubmit attribute. -- -- Example: -- --
-- div <! onsubmit "bar" $ "Hello." ---- -- Result: -- --
-- <div onsubmit="bar">Hello.</div> --onsubmit :: AttributeValue -> Attribute -- | Combinator for the onunload attribute. -- -- Example: -- --
-- div <! onunload "bar" $ "Hello." ---- -- Result: -- --
-- <div onunload="bar">Hello.</div> --onunload :: AttributeValue -> Attribute -- | Combinator for the profile attribute. -- -- Example: -- --
-- div <! profile "bar" $ "Hello." ---- -- Result: -- --
-- <div profile="bar">Hello.</div> --profile :: AttributeValue -> Attribute -- | Combinator for the readonly attribute. -- -- Example: -- --
-- div <! readonly "bar" $ "Hello." ---- -- Result: -- --
-- <div readonly="bar">Hello.</div> --readonly :: AttributeValue -> Attribute -- | Combinator for the rel attribute. -- -- Example: -- --
-- div <! rel "bar" $ "Hello." ---- -- Result: -- --
-- <div rel="bar">Hello.</div> --rel :: AttributeValue -> Attribute -- | Combinator for the rev attribute. -- -- Example: -- --
-- div <! rev "bar" $ "Hello." ---- -- Result: -- --
-- <div rev="bar">Hello.</div> --rev :: AttributeValue -> Attribute -- | Combinator for the rows attribute. -- -- Example: -- --
-- div <! rows "bar" $ "Hello." ---- -- Result: -- --
-- <div rows="bar">Hello.</div> --rows :: AttributeValue -> Attribute -- | Combinator for the rowspan attribute. -- -- Example: -- --
-- div <! rowspan "bar" $ "Hello." ---- -- Result: -- --
-- <div rowspan="bar">Hello.</div> --rowspan :: AttributeValue -> Attribute -- | Combinator for the rules attribute. -- -- Example: -- --
-- div <! rules "bar" $ "Hello." ---- -- Result: -- --
-- <div rules="bar">Hello.</div> --rules :: AttributeValue -> Attribute -- | Combinator for the scheme attribute. -- -- Example: -- --
-- div <! scheme "bar" $ "Hello." ---- -- Result: -- --
-- <div scheme="bar">Hello.</div> --scheme :: AttributeValue -> Attribute -- | Combinator for the scope attribute. -- -- Example: -- --
-- div <! scope "bar" $ "Hello." ---- -- Result: -- --
-- <div scope="bar">Hello.</div> --scope :: AttributeValue -> Attribute -- | Combinator for the selected attribute. -- -- Example: -- --
-- div <! selected "bar" $ "Hello." ---- -- Result: -- --
-- <div selected="bar">Hello.</div> --selected :: AttributeValue -> Attribute -- | Combinator for the shape attribute. -- -- Example: -- --
-- div <! shape "bar" $ "Hello." ---- -- Result: -- --
-- <div shape="bar">Hello.</div> --shape :: AttributeValue -> Attribute -- | Combinator for the size attribute. -- -- Example: -- --
-- div <! size "bar" $ "Hello." ---- -- Result: -- --
-- <div size="bar">Hello.</div> --size :: AttributeValue -> Attribute -- | Combinator for the span attribute. -- -- Example: -- --
-- div <! span "bar" $ "Hello." ---- -- Result: -- --
-- <div span="bar">Hello.</div> --span :: AttributeValue -> Attribute -- | Combinator for the src attribute. -- -- Example: -- --
-- div <! src "bar" $ "Hello." ---- -- Result: -- --
-- <div src="bar">Hello.</div> --src :: AttributeValue -> Attribute -- | Combinator for the standby attribute. -- -- Example: -- --
-- div <! standby "bar" $ "Hello." ---- -- Result: -- --
-- <div standby="bar">Hello.</div> --standby :: AttributeValue -> Attribute -- | Combinator for the style attribute. -- -- Example: -- --
-- div <! style "bar" $ "Hello." ---- -- Result: -- --
-- <div style="bar">Hello.</div> --style :: AttributeValue -> Attribute -- | Combinator for the summary attribute. -- -- Example: -- --
-- div <! summary "bar" $ "Hello." ---- -- Result: -- --
-- <div summary="bar">Hello.</div> --summary :: AttributeValue -> Attribute -- | Combinator for the tabindex attribute. -- -- Example: -- --
-- div <! tabindex "bar" $ "Hello." ---- -- Result: -- --
-- <div tabindex="bar">Hello.</div> --tabindex :: AttributeValue -> Attribute -- | Combinator for the title attribute. -- -- Example: -- --
-- div <! title "bar" $ "Hello." ---- -- Result: -- --
-- <div title="bar">Hello.</div> --title :: AttributeValue -> Attribute -- | Combinator for the type attribute. -- -- Example: -- --
-- div <! type_ "bar" $ "Hello." ---- -- Result: -- --
-- <div type="bar">Hello.</div> --type_ :: AttributeValue -> Attribute -- | Combinator for the usemap attribute. -- -- Example: -- --
-- div <! usemap "bar" $ "Hello." ---- -- Result: -- --
-- <div usemap="bar">Hello.</div> --usemap :: AttributeValue -> Attribute -- | Combinator for the valign attribute. -- -- Example: -- --
-- div <! valign "bar" $ "Hello." ---- -- Result: -- --
-- <div valign="bar">Hello.</div> --valign :: AttributeValue -> Attribute -- | Combinator for the value attribute. -- -- Example: -- --
-- div <! value "bar" $ "Hello." ---- -- Result: -- --
-- <div value="bar">Hello.</div> --value :: AttributeValue -> Attribute -- | Combinator for the valuetype attribute. -- -- Example: -- --
-- div <! valuetype "bar" $ "Hello." ---- -- Result: -- --
-- <div valuetype="bar">Hello.</div> --valuetype :: AttributeValue -> Attribute -- | Combinator for the width attribute. -- -- Example: -- --
-- div <! width "bar" $ "Hello." ---- -- Result: -- --
-- <div width="bar">Hello.</div> --width :: AttributeValue -> Attribute -- | This module exports combinators that provide you with the ability to -- set attributes on HTML elements. module Text.Blaze.Html5.Attributes -- | Combinator for the accept attribute. -- -- Example: -- --
-- div <! accept "bar" $ "Hello." ---- -- Result: -- --
-- <div accept="bar">Hello.</div> --accept :: AttributeValue -> Attribute -- | Combinator for the accept-charset attribute. -- -- Example: -- --
-- div <! accept_charset "bar" $ "Hello." ---- -- Result: -- --
-- <div accept-charset="bar">Hello.</div> --accept_charset :: AttributeValue -> Attribute -- | Combinator for the accesskey attribute. -- -- Example: -- --
-- div <! accesskey "bar" $ "Hello." ---- -- Result: -- --
-- <div accesskey="bar">Hello.</div> --accesskey :: AttributeValue -> Attribute -- | Combinator for the action attribute. -- -- Example: -- --
-- div <! action "bar" $ "Hello." ---- -- Result: -- --
-- <div action="bar">Hello.</div> --action :: AttributeValue -> Attribute -- | Combinator for the alt attribute. -- -- Example: -- --
-- div <! alt "bar" $ "Hello." ---- -- Result: -- --
-- <div alt="bar">Hello.</div> --alt :: AttributeValue -> Attribute -- | Combinator for the async attribute. -- -- Example: -- --
-- div <! async "bar" $ "Hello." ---- -- Result: -- --
-- <div async="bar">Hello.</div> --async :: AttributeValue -> Attribute -- | Combinator for the autocomplete attribute. -- -- Example: -- --
-- div <! autocomplete "bar" $ "Hello." ---- -- Result: -- --
-- <div autocomplete="bar">Hello.</div> --autocomplete :: AttributeValue -> Attribute -- | Combinator for the autofocus attribute. -- -- Example: -- --
-- div <! autofocus "bar" $ "Hello." ---- -- Result: -- --
-- <div autofocus="bar">Hello.</div> --autofocus :: AttributeValue -> Attribute -- | Combinator for the autoplay attribute. -- -- Example: -- --
-- div <! autoplay "bar" $ "Hello." ---- -- Result: -- --
-- <div autoplay="bar">Hello.</div> --autoplay :: AttributeValue -> Attribute -- | Combinator for the challenge attribute. -- -- Example: -- --
-- div <! challenge "bar" $ "Hello." ---- -- Result: -- --
-- <div challenge="bar">Hello.</div> --challenge :: AttributeValue -> Attribute -- | Combinator for the charset attribute. -- -- Example: -- --
-- div <! charset "bar" $ "Hello." ---- -- Result: -- --
-- <div charset="bar">Hello.</div> --charset :: AttributeValue -> Attribute -- | Combinator for the checked attribute. -- -- Example: -- --
-- div <! checked "bar" $ "Hello." ---- -- Result: -- --
-- <div checked="bar">Hello.</div> --checked :: AttributeValue -> Attribute -- | Combinator for the cite attribute. -- -- Example: -- --
-- div <! cite "bar" $ "Hello." ---- -- Result: -- --
-- <div cite="bar">Hello.</div> --cite :: AttributeValue -> Attribute -- | Combinator for the class attribute. -- -- Example: -- --
-- div <! class_ "bar" $ "Hello." ---- -- Result: -- --
-- <div class="bar">Hello.</div> --class_ :: AttributeValue -> Attribute -- | Combinator for the cols attribute. -- -- Example: -- --
-- div <! cols "bar" $ "Hello." ---- -- Result: -- --
-- <div cols="bar">Hello.</div> --cols :: AttributeValue -> Attribute -- | Combinator for the colspan attribute. -- -- Example: -- --
-- div <! colspan "bar" $ "Hello." ---- -- Result: -- --
-- <div colspan="bar">Hello.</div> --colspan :: AttributeValue -> Attribute -- | Combinator for the content attribute. -- -- Example: -- --
-- div <! content "bar" $ "Hello." ---- -- Result: -- --
-- <div content="bar">Hello.</div> --content :: AttributeValue -> Attribute -- | Combinator for the contenteditable attribute. -- -- Example: -- --
-- div <! contenteditable "bar" $ "Hello." ---- -- Result: -- --
-- <div contenteditable="bar">Hello.</div> --contenteditable :: AttributeValue -> Attribute -- | Combinator for the contextmenu attribute. -- -- Example: -- --
-- div <! contextmenu "bar" $ "Hello." ---- -- Result: -- --
-- <div contextmenu="bar">Hello.</div> --contextmenu :: AttributeValue -> Attribute -- | Combinator for the controls attribute. -- -- Example: -- --
-- div <! controls "bar" $ "Hello." ---- -- Result: -- --
-- <div controls="bar">Hello.</div> --controls :: AttributeValue -> Attribute -- | Combinator for the coords attribute. -- -- Example: -- --
-- div <! coords "bar" $ "Hello." ---- -- Result: -- --
-- <div coords="bar">Hello.</div> --coords :: AttributeValue -> Attribute -- | Combinator for the data attribute. -- -- Example: -- --
-- div <! data_ "bar" $ "Hello." ---- -- Result: -- --
-- <div data="bar">Hello.</div> --data_ :: AttributeValue -> Attribute -- | Combinator for the datetime attribute. -- -- Example: -- --
-- div <! datetime "bar" $ "Hello." ---- -- Result: -- --
-- <div datetime="bar">Hello.</div> --datetime :: AttributeValue -> Attribute -- | Combinator for the defer attribute. -- -- Example: -- --
-- div <! defer "bar" $ "Hello." ---- -- Result: -- --
-- <div defer="bar">Hello.</div> --defer :: AttributeValue -> Attribute -- | Combinator for the dir attribute. -- -- Example: -- --
-- div <! dir "bar" $ "Hello." ---- -- Result: -- --
-- <div dir="bar">Hello.</div> --dir :: AttributeValue -> Attribute -- | Combinator for the disabled attribute. -- -- Example: -- --
-- div <! disabled "bar" $ "Hello." ---- -- Result: -- --
-- <div disabled="bar">Hello.</div> --disabled :: AttributeValue -> Attribute -- | Combinator for the draggable attribute. -- -- Example: -- --
-- div <! draggable "bar" $ "Hello." ---- -- Result: -- --
-- <div draggable="bar">Hello.</div> --draggable :: AttributeValue -> Attribute -- | Combinator for the enctype attribute. -- -- Example: -- --
-- div <! enctype "bar" $ "Hello." ---- -- Result: -- --
-- <div enctype="bar">Hello.</div> --enctype :: AttributeValue -> Attribute -- | Combinator for the for attribute. -- -- Example: -- --
-- div <! for "bar" $ "Hello." ---- -- Result: -- --
-- <div for="bar">Hello.</div> --for :: AttributeValue -> Attribute -- | Combinator for the form attribute. -- -- Example: -- --
-- div <! form "bar" $ "Hello." ---- -- Result: -- --
-- <div form="bar">Hello.</div> --form :: AttributeValue -> Attribute -- | Combinator for the formaction attribute. -- -- Example: -- --
-- div <! formaction "bar" $ "Hello." ---- -- Result: -- --
-- <div formaction="bar">Hello.</div> --formaction :: AttributeValue -> Attribute -- | Combinator for the formenctype attribute. -- -- Example: -- --
-- div <! formenctype "bar" $ "Hello." ---- -- Result: -- --
-- <div formenctype="bar">Hello.</div> --formenctype :: AttributeValue -> Attribute -- | Combinator for the formmethod attribute. -- -- Example: -- --
-- div <! formmethod "bar" $ "Hello." ---- -- Result: -- --
-- <div formmethod="bar">Hello.</div> --formmethod :: AttributeValue -> Attribute -- | Combinator for the formnovalidate attribute. -- -- Example: -- --
-- div <! formnovalidate "bar" $ "Hello." ---- -- Result: -- --
-- <div formnovalidate="bar">Hello.</div> --formnovalidate :: AttributeValue -> Attribute -- | Combinator for the formtarget attribute. -- -- Example: -- --
-- div <! formtarget "bar" $ "Hello." ---- -- Result: -- --
-- <div formtarget="bar">Hello.</div> --formtarget :: AttributeValue -> Attribute -- | Combinator for the headers attribute. -- -- Example: -- --
-- div <! headers "bar" $ "Hello." ---- -- Result: -- --
-- <div headers="bar">Hello.</div> --headers :: AttributeValue -> Attribute -- | Combinator for the height attribute. -- -- Example: -- --
-- div <! height "bar" $ "Hello." ---- -- Result: -- --
-- <div height="bar">Hello.</div> --height :: AttributeValue -> Attribute -- | Combinator for the hidden attribute. -- -- Example: -- --
-- div <! hidden "bar" $ "Hello." ---- -- Result: -- --
-- <div hidden="bar">Hello.</div> --hidden :: AttributeValue -> Attribute -- | Combinator for the high attribute. -- -- Example: -- --
-- div <! high "bar" $ "Hello." ---- -- Result: -- --
-- <div high="bar">Hello.</div> --high :: AttributeValue -> Attribute -- | Combinator for the href attribute. -- -- Example: -- --
-- div <! href "bar" $ "Hello." ---- -- Result: -- --
-- <div href="bar">Hello.</div> --href :: AttributeValue -> Attribute -- | Combinator for the hreflang attribute. -- -- Example: -- --
-- div <! hreflang "bar" $ "Hello." ---- -- Result: -- --
-- <div hreflang="bar">Hello.</div> --hreflang :: AttributeValue -> Attribute -- | Combinator for the http-equiv attribute. -- -- Example: -- --
-- div <! http_equiv "bar" $ "Hello." ---- -- Result: -- --
-- <div http-equiv="bar">Hello.</div> --http_equiv :: AttributeValue -> Attribute -- | Combinator for the icon attribute. -- -- Example: -- --
-- div <! icon "bar" $ "Hello." ---- -- Result: -- --
-- <div icon="bar">Hello.</div> --icon :: AttributeValue -> Attribute -- | Combinator for the id attribute. -- -- Example: -- --
-- div <! id "bar" $ "Hello." ---- -- Result: -- --
-- <div id="bar">Hello.</div> --id :: AttributeValue -> Attribute -- | Combinator for the ismap attribute. -- -- Example: -- --
-- div <! ismap "bar" $ "Hello." ---- -- Result: -- --
-- <div ismap="bar">Hello.</div> --ismap :: AttributeValue -> Attribute -- | Combinator for the item attribute. -- -- Example: -- --
-- div <! item "bar" $ "Hello." ---- -- Result: -- --
-- <div item="bar">Hello.</div> --item :: AttributeValue -> Attribute -- | Combinator for the itemprop attribute. -- -- Example: -- --
-- div <! itemprop "bar" $ "Hello." ---- -- Result: -- --
-- <div itemprop="bar">Hello.</div> --itemprop :: AttributeValue -> Attribute -- | Combinator for the keytype attribute. -- -- Example: -- --
-- div <! keytype "bar" $ "Hello." ---- -- Result: -- --
-- <div keytype="bar">Hello.</div> --keytype :: AttributeValue -> Attribute -- | Combinator for the label attribute. -- -- Example: -- --
-- div <! label "bar" $ "Hello." ---- -- Result: -- --
-- <div label="bar">Hello.</div> --label :: AttributeValue -> Attribute -- | Combinator for the lang attribute. -- -- Example: -- --
-- div <! lang "bar" $ "Hello." ---- -- Result: -- --
-- <div lang="bar">Hello.</div> --lang :: AttributeValue -> Attribute -- | Combinator for the list attribute. -- -- Example: -- --
-- div <! list "bar" $ "Hello." ---- -- Result: -- --
-- <div list="bar">Hello.</div> --list :: AttributeValue -> Attribute -- | Combinator for the loop attribute. -- -- Example: -- --
-- div <! loop "bar" $ "Hello." ---- -- Result: -- --
-- <div loop="bar">Hello.</div> --loop :: AttributeValue -> Attribute -- | Combinator for the low attribute. -- -- Example: -- --
-- div <! low "bar" $ "Hello." ---- -- Result: -- --
-- <div low="bar">Hello.</div> --low :: AttributeValue -> Attribute -- | Combinator for the manifest attribute. -- -- Example: -- --
-- div <! manifest "bar" $ "Hello." ---- -- Result: -- --
-- <div manifest="bar">Hello.</div> --manifest :: AttributeValue -> Attribute -- | Combinator for the max attribute. -- -- Example: -- --
-- div <! max "bar" $ "Hello." ---- -- Result: -- --
-- <div max="bar">Hello.</div> --max :: AttributeValue -> Attribute -- | Combinator for the maxlength attribute. -- -- Example: -- --
-- div <! maxlength "bar" $ "Hello." ---- -- Result: -- --
-- <div maxlength="bar">Hello.</div> --maxlength :: AttributeValue -> Attribute -- | Combinator for the media attribute. -- -- Example: -- --
-- div <! media "bar" $ "Hello." ---- -- Result: -- --
-- <div media="bar">Hello.</div> --media :: AttributeValue -> Attribute -- | Combinator for the method attribute. -- -- Example: -- --
-- div <! method "bar" $ "Hello." ---- -- Result: -- --
-- <div method="bar">Hello.</div> --method :: AttributeValue -> Attribute -- | Combinator for the min attribute. -- -- Example: -- --
-- div <! min "bar" $ "Hello." ---- -- Result: -- --
-- <div min="bar">Hello.</div> --min :: AttributeValue -> Attribute -- | Combinator for the multiple attribute. -- -- Example: -- --
-- div <! multiple "bar" $ "Hello." ---- -- Result: -- --
-- <div multiple="bar">Hello.</div> --multiple :: AttributeValue -> Attribute -- | Combinator for the name attribute. -- -- Example: -- --
-- div <! name "bar" $ "Hello." ---- -- Result: -- --
-- <div name="bar">Hello.</div> --name :: AttributeValue -> Attribute -- | Combinator for the novalidate attribute. -- -- Example: -- --
-- div <! novalidate "bar" $ "Hello." ---- -- Result: -- --
-- <div novalidate="bar">Hello.</div> --novalidate :: AttributeValue -> Attribute -- | Combinator for the onafterprint attribute. -- -- Example: -- --
-- div <! onafterprint "bar" $ "Hello." ---- -- Result: -- --
-- <div onafterprint="bar">Hello.</div> --onafterprint :: AttributeValue -> Attribute -- | Combinator for the onbeforeonload attribute. -- -- Example: -- --
-- div <! onbeforeonload "bar" $ "Hello." ---- -- Result: -- --
-- <div onbeforeonload="bar">Hello.</div> --onbeforeonload :: AttributeValue -> Attribute -- | Combinator for the onbeforeprint attribute. -- -- Example: -- --
-- div <! onbeforeprint "bar" $ "Hello." ---- -- Result: -- --
-- <div onbeforeprint="bar">Hello.</div> --onbeforeprint :: AttributeValue -> Attribute -- | Combinator for the onblur attribute. -- -- Example: -- --
-- div <! onblur "bar" $ "Hello." ---- -- Result: -- --
-- <div onblur="bar">Hello.</div> --onblur :: AttributeValue -> Attribute -- | Combinator for the onerror attribute. -- -- Example: -- --
-- div <! onerror "bar" $ "Hello." ---- -- Result: -- --
-- <div onerror="bar">Hello.</div> --onerror :: AttributeValue -> Attribute -- | Combinator for the onfocus attribute. -- -- Example: -- --
-- div <! onfocus "bar" $ "Hello." ---- -- Result: -- --
-- <div onfocus="bar">Hello.</div> --onfocus :: AttributeValue -> Attribute -- | Combinator for the onhaschange attribute. -- -- Example: -- --
-- div <! onhaschange "bar" $ "Hello." ---- -- Result: -- --
-- <div onhaschange="bar">Hello.</div> --onhaschange :: AttributeValue -> Attribute -- | Combinator for the onload attribute. -- -- Example: -- --
-- div <! onload "bar" $ "Hello." ---- -- Result: -- --
-- <div onload="bar">Hello.</div> --onload :: AttributeValue -> Attribute -- | Combinator for the onmessage attribute. -- -- Example: -- --
-- div <! onmessage "bar" $ "Hello." ---- -- Result: -- --
-- <div onmessage="bar">Hello.</div> --onmessage :: AttributeValue -> Attribute -- | Combinator for the onoffline attribute. -- -- Example: -- --
-- div <! onoffline "bar" $ "Hello." ---- -- Result: -- --
-- <div onoffline="bar">Hello.</div> --onoffline :: AttributeValue -> Attribute -- | Combinator for the ononline attribute. -- -- Example: -- --
-- div <! ononline "bar" $ "Hello." ---- -- Result: -- --
-- <div ononline="bar">Hello.</div> --ononline :: AttributeValue -> Attribute -- | Combinator for the onpagehide attribute. -- -- Example: -- --
-- div <! onpagehide "bar" $ "Hello." ---- -- Result: -- --
-- <div onpagehide="bar">Hello.</div> --onpagehide :: AttributeValue -> Attribute -- | Combinator for the onpageshow attribute. -- -- Example: -- --
-- div <! onpageshow "bar" $ "Hello." ---- -- Result: -- --
-- <div onpageshow="bar">Hello.</div> --onpageshow :: AttributeValue -> Attribute -- | Combinator for the onpropstate attribute. -- -- Example: -- --
-- div <! onpropstate "bar" $ "Hello." ---- -- Result: -- --
-- <div onpropstate="bar">Hello.</div> --onpropstate :: AttributeValue -> Attribute -- | Combinator for the onredo attribute. -- -- Example: -- --
-- div <! onredo "bar" $ "Hello." ---- -- Result: -- --
-- <div onredo="bar">Hello.</div> --onredo :: AttributeValue -> Attribute -- | Combinator for the onresize attribute. -- -- Example: -- --
-- div <! onresize "bar" $ "Hello." ---- -- Result: -- --
-- <div onresize="bar">Hello.</div> --onresize :: AttributeValue -> Attribute -- | Combinator for the onstorage attribute. -- -- Example: -- --
-- div <! onstorage "bar" $ "Hello." ---- -- Result: -- --
-- <div onstorage="bar">Hello.</div> --onstorage :: AttributeValue -> Attribute -- | Combinator for the onundo attribute. -- -- Example: -- --
-- div <! onundo "bar" $ "Hello." ---- -- Result: -- --
-- <div onundo="bar">Hello.</div> --onundo :: AttributeValue -> Attribute -- | Combinator for the onunload attribute. -- -- Example: -- --
-- div <! onunload "bar" $ "Hello." ---- -- Result: -- --
-- <div onunload="bar">Hello.</div> --onunload :: AttributeValue -> Attribute -- | Combinator for the open attribute. -- -- Example: -- --
-- div <! open "bar" $ "Hello." ---- -- Result: -- --
-- <div open="bar">Hello.</div> --open :: AttributeValue -> Attribute -- | Combinator for the optimum attribute. -- -- Example: -- --
-- div <! optimum "bar" $ "Hello." ---- -- Result: -- --
-- <div optimum="bar">Hello.</div> --optimum :: AttributeValue -> Attribute -- | Combinator for the pattern attribute. -- -- Example: -- --
-- div <! pattern "bar" $ "Hello." ---- -- Result: -- --
-- <div pattern="bar">Hello.</div> --pattern :: AttributeValue -> Attribute -- | Combinator for the ping attribute. -- -- Example: -- --
-- div <! ping "bar" $ "Hello." ---- -- Result: -- --
-- <div ping="bar">Hello.</div> --ping :: AttributeValue -> Attribute -- | Combinator for the placeholder attribute. -- -- Example: -- --
-- div <! placeholder "bar" $ "Hello." ---- -- Result: -- --
-- <div placeholder="bar">Hello.</div> --placeholder :: AttributeValue -> Attribute -- | Combinator for the preload attribute. -- -- Example: -- --
-- div <! preload "bar" $ "Hello." ---- -- Result: -- --
-- <div preload="bar">Hello.</div> --preload :: AttributeValue -> Attribute -- | Combinator for the pubdate attribute. -- -- Example: -- --
-- div <! pubdate "bar" $ "Hello." ---- -- Result: -- --
-- <div pubdate="bar">Hello.</div> --pubdate :: AttributeValue -> Attribute -- | Combinator for the radiogroup attribute. -- -- Example: -- --
-- div <! radiogroup "bar" $ "Hello." ---- -- Result: -- --
-- <div radiogroup="bar">Hello.</div> --radiogroup :: AttributeValue -> Attribute -- | Combinator for the readonly attribute. -- -- Example: -- --
-- div <! readonly "bar" $ "Hello." ---- -- Result: -- --
-- <div readonly="bar">Hello.</div> --readonly :: AttributeValue -> Attribute -- | Combinator for the rel attribute. -- -- Example: -- --
-- div <! rel "bar" $ "Hello." ---- -- Result: -- --
-- <div rel="bar">Hello.</div> --rel :: AttributeValue -> Attribute -- | Combinator for the required attribute. -- -- Example: -- --
-- div <! required "bar" $ "Hello." ---- -- Result: -- --
-- <div required="bar">Hello.</div> --required :: AttributeValue -> Attribute -- | Combinator for the reversed attribute. -- -- Example: -- --
-- div <! reversed "bar" $ "Hello." ---- -- Result: -- --
-- <div reversed="bar">Hello.</div> --reversed :: AttributeValue -> Attribute -- | Combinator for the rows attribute. -- -- Example: -- --
-- div <! rows "bar" $ "Hello." ---- -- Result: -- --
-- <div rows="bar">Hello.</div> --rows :: AttributeValue -> Attribute -- | Combinator for the rowspan attribute. -- -- Example: -- --
-- div <! rowspan "bar" $ "Hello." ---- -- Result: -- --
-- <div rowspan="bar">Hello.</div> --rowspan :: AttributeValue -> Attribute -- | Combinator for the sandbox attribute. -- -- Example: -- --
-- div <! sandbox "bar" $ "Hello." ---- -- Result: -- --
-- <div sandbox="bar">Hello.</div> --sandbox :: AttributeValue -> Attribute -- | Combinator for the scope attribute. -- -- Example: -- --
-- div <! scope "bar" $ "Hello." ---- -- Result: -- --
-- <div scope="bar">Hello.</div> --scope :: AttributeValue -> Attribute -- | Combinator for the scoped attribute. -- -- Example: -- --
-- div <! scoped "bar" $ "Hello." ---- -- Result: -- --
-- <div scoped="bar">Hello.</div> --scoped :: AttributeValue -> Attribute -- | Combinator for the seamless attribute. -- -- Example: -- --
-- div <! seamless "bar" $ "Hello." ---- -- Result: -- --
-- <div seamless="bar">Hello.</div> --seamless :: AttributeValue -> Attribute -- | Combinator for the selected attribute. -- -- Example: -- --
-- div <! selected "bar" $ "Hello." ---- -- Result: -- --
-- <div selected="bar">Hello.</div> --selected :: AttributeValue -> Attribute -- | Combinator for the shape attribute. -- -- Example: -- --
-- div <! shape "bar" $ "Hello." ---- -- Result: -- --
-- <div shape="bar">Hello.</div> --shape :: AttributeValue -> Attribute -- | Combinator for the size attribute. -- -- Example: -- --
-- div <! size "bar" $ "Hello." ---- -- Result: -- --
-- <div size="bar">Hello.</div> --size :: AttributeValue -> Attribute -- | Combinator for the sizes attribute. -- -- Example: -- --
-- div <! sizes "bar" $ "Hello." ---- -- Result: -- --
-- <div sizes="bar">Hello.</div> --sizes :: AttributeValue -> Attribute -- | Combinator for the span attribute. -- -- Example: -- --
-- div <! span "bar" $ "Hello." ---- -- Result: -- --
-- <div span="bar">Hello.</div> --span :: AttributeValue -> Attribute -- | Combinator for the spellcheck attribute. -- -- Example: -- --
-- div <! spellcheck "bar" $ "Hello." ---- -- Result: -- --
-- <div spellcheck="bar">Hello.</div> --spellcheck :: AttributeValue -> Attribute -- | Combinator for the src attribute. -- -- Example: -- --
-- div <! src "bar" $ "Hello." ---- -- Result: -- --
-- <div src="bar">Hello.</div> --src :: AttributeValue -> Attribute -- | Combinator for the srcdoc attribute. -- -- Example: -- --
-- div <! srcdoc "bar" $ "Hello." ---- -- Result: -- --
-- <div srcdoc="bar">Hello.</div> --srcdoc :: AttributeValue -> Attribute -- | Combinator for the start attribute. -- -- Example: -- --
-- div <! start "bar" $ "Hello." ---- -- Result: -- --
-- <div start="bar">Hello.</div> --start :: AttributeValue -> Attribute -- | Combinator for the step attribute. -- -- Example: -- --
-- div <! step "bar" $ "Hello." ---- -- Result: -- --
-- <div step="bar">Hello.</div> --step :: AttributeValue -> Attribute -- | Combinator for the style attribute. -- -- Example: -- --
-- div <! style "bar" $ "Hello." ---- -- Result: -- --
-- <div style="bar">Hello.</div> --style :: AttributeValue -> Attribute -- | Combinator for the subject attribute. -- -- Example: -- --
-- div <! subject "bar" $ "Hello." ---- -- Result: -- --
-- <div subject="bar">Hello.</div> --subject :: AttributeValue -> Attribute -- | Combinator for the summary attribute. -- -- Example: -- --
-- div <! summary "bar" $ "Hello." ---- -- Result: -- --
-- <div summary="bar">Hello.</div> --summary :: AttributeValue -> Attribute -- | Combinator for the tabindex attribute. -- -- Example: -- --
-- div <! tabindex "bar" $ "Hello." ---- -- Result: -- --
-- <div tabindex="bar">Hello.</div> --tabindex :: AttributeValue -> Attribute -- | Combinator for the target attribute. -- -- Example: -- --
-- div <! target "bar" $ "Hello." ---- -- Result: -- --
-- <div target="bar">Hello.</div> --target :: AttributeValue -> Attribute -- | Combinator for the title attribute. -- -- Example: -- --
-- div <! title "bar" $ "Hello." ---- -- Result: -- --
-- <div title="bar">Hello.</div> --title :: AttributeValue -> Attribute -- | Combinator for the type attribute. -- -- Example: -- --
-- div <! type_ "bar" $ "Hello." ---- -- Result: -- --
-- <div type="bar">Hello.</div> --type_ :: AttributeValue -> Attribute -- | Combinator for the usemap attribute. -- -- Example: -- --
-- div <! usemap "bar" $ "Hello." ---- -- Result: -- --
-- <div usemap="bar">Hello.</div> --usemap :: AttributeValue -> Attribute -- | Combinator for the value attribute. -- -- Example: -- --
-- div <! value "bar" $ "Hello." ---- -- Result: -- --
-- <div value="bar">Hello.</div> --value :: AttributeValue -> Attribute -- | Combinator for the width attribute. -- -- Example: -- --
-- div <! width "bar" $ "Hello." ---- -- Result: -- --
-- <div width="bar">Hello.</div> --width :: AttributeValue -> Attribute -- | Combinator for the wrap attribute. -- -- Example: -- --
-- div <! wrap "bar" $ "Hello." ---- -- Result: -- --
-- <div wrap="bar">Hello.</div> --wrap :: AttributeValue -> Attribute -- | Combinator for the xmlns attribute. -- -- Example: -- --
-- div <! xmlns "bar" $ "Hello." ---- -- Result: -- --
-- <div xmlns="bar">Hello.</div> --xmlns :: AttributeValue -> Attribute -- | Core exposed functions. module Text.Blaze -- | The core HTML datatype. data Html a -- | Type for an HTML tag. This can be seen as an internal string type used -- by BlazeHtml. data Tag -- | Type for an attribute. data Attribute -- | The type for the value part of an attribute. data AttributeValue -- | From HTML 5 onwards, the user is able to specify custom data -- attributes. -- -- An example: -- --
-- <p data-foo="bar">Hello.</p> ---- -- We support this in BlazeHtml using this funcion. The above fragment -- could be described using BlazeHtml with: -- --
-- p ! dataAttribute "foo" "bar" $ "Hello." --dataAttribute :: Tag -> AttributeValue -> Attribute -- | Render text. Functions like these can be used to supply content in -- HTML. text :: Text -> Html a -- | Render text without escaping. preEscapedText :: Text -> Html a -- | Create an HTML snippet from a String. string :: String -> Html a -- | Create an HTML snippet from a String without escaping preEscapedString :: String -> Html a -- | Create an HTML snippet from a datatype that instantiates Show. showHtml :: (Show a) => a -> Html b -- | Create an HTML snippet from a datatype that instantiates Show. -- This function will not do any HTML entity escaping. preEscapedShowHtml :: (Show a) => a -> Html b -- | Insert a ByteString. This is an unsafe operation: -- --
-- img ! src "foo.png" ---- -- Result: -- --
-- <img src="foo.png" /> ---- -- This can be used on nested elements as well. -- -- Example: -- --
-- p ! style "float: right" $ "Hello!" ---- -- Result: -- --
-- <p style="float: right">Hello!</p> --(!) :: (Attributable h) => h -> Attribute -> h -- | O(n). Render the HTML fragment to lazy ByteString. renderHtml :: Html a -> ByteString -- | This module exports HTML combinators used to create documents. module Text.Blaze.Html4.Strict -- | Combinator for the <html> element. This combinator will -- also insert the correct doctype. -- -- Example: -- --
-- html $ span $ text "foo" ---- -- Result: -- --
-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" -- "http://www.w3.org/TR/html4/strict.dtd"> -- <html><span>foo</span></html> --html :: Html a -> Html b -- | Combinator for the document type. This should be placed at the top of -- every HTML page. -- -- Example: -- --
-- docType ---- -- Result: -- --
-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" -- "http://www.w3.org/TR/html4/strict.dtd"> --docType :: Html a -- | Combinator for the <a> element. -- -- Example: -- --
-- a $ span $ text "foo" ---- -- Result: -- --
-- <a><span>foo</span></a> --a :: Html a -> Html b -- | Combinator for the <abbr> element. -- -- Example: -- --
-- abbr $ span $ text "foo" ---- -- Result: -- --
-- <abbr><span>foo</span></abbr> --abbr :: Html a -> Html b -- | Combinator for the <acronym> element. -- -- Example: -- --
-- acronym $ span $ text "foo" ---- -- Result: -- --
-- <acronym><span>foo</span></acronym> --acronym :: Html a -> Html b -- | Combinator for the <address> element. -- -- Example: -- --
-- address $ span $ text "foo" ---- -- Result: -- --
-- <address><span>foo</span></address> --address :: Html a -> Html b -- | Combinator for the <area> element. -- -- Example: -- --
-- area ---- -- Result: -- --
-- <area> --area :: Html a -- | Combinator for the <b> element. -- -- Example: -- --
-- b $ span $ text "foo" ---- -- Result: -- --
-- <b><span>foo</span></b> --b :: Html a -> Html b -- | Combinator for the <bdo> element. -- -- Example: -- --
-- bdo $ span $ text "foo" ---- -- Result: -- --
-- <bdo><span>foo</span></bdo> --bdo :: Html a -> Html b -- | Combinator for the <big> element. -- -- Example: -- --
-- big $ span $ text "foo" ---- -- Result: -- --
-- <big><span>foo</span></big> --big :: Html a -> Html b -- | Combinator for the <blockquote> element. -- -- Example: -- --
-- blockquote $ span $ text "foo" ---- -- Result: -- --
-- <blockquote><span>foo</span></blockquote> --blockquote :: Html a -> Html b -- | Combinator for the <body> element. -- -- Example: -- --
-- body $ span $ text "foo" ---- -- Result: -- --
-- <body><span>foo</span></body> --body :: Html a -> Html b -- | Combinator for the <br> element. -- -- Example: -- --
-- br ---- -- Result: -- --
-- <br> --br :: Html a -- | Combinator for the <button> element. -- -- Example: -- --
-- button $ span $ text "foo" ---- -- Result: -- --
-- <button><span>foo</span></button> --button :: Html a -> Html b -- | Combinator for the <caption> element. -- -- Example: -- --
-- caption $ span $ text "foo" ---- -- Result: -- --
-- <caption><span>foo</span></caption> --caption :: Html a -> Html b -- | Combinator for the <cite> element. -- -- Example: -- --
-- cite $ span $ text "foo" ---- -- Result: -- --
-- <cite><span>foo</span></cite> --cite :: Html a -> Html b -- | Combinator for the <code> element. -- -- Example: -- --
-- code $ span $ text "foo" ---- -- Result: -- --
-- <code><span>foo</span></code> --code :: Html a -> Html b -- | Combinator for the <col> element. -- -- Example: -- --
-- col ---- -- Result: -- --
-- <col> --col :: Html a -- | Combinator for the <colgroup> element. -- -- Example: -- --
-- colgroup $ span $ text "foo" ---- -- Result: -- --
-- <colgroup><span>foo</span></colgroup> --colgroup :: Html a -> Html b -- | Combinator for the <dd> element. -- -- Example: -- --
-- dd $ span $ text "foo" ---- -- Result: -- --
-- <dd><span>foo</span></dd> --dd :: Html a -> Html b -- | Combinator for the <del> element. -- -- Example: -- --
-- del $ span $ text "foo" ---- -- Result: -- --
-- <del><span>foo</span></del> --del :: Html a -> Html b -- | Combinator for the <dfn> element. -- -- Example: -- --
-- dfn $ span $ text "foo" ---- -- Result: -- --
-- <dfn><span>foo</span></dfn> --dfn :: Html a -> Html b -- | Combinator for the <div> element. -- -- Example: -- --
-- div $ span $ text "foo" ---- -- Result: -- --
-- <div><span>foo</span></div> --div :: Html a -> Html b -- | Combinator for the <dl> element. -- -- Example: -- --
-- dl $ span $ text "foo" ---- -- Result: -- --
-- <dl><span>foo</span></dl> --dl :: Html a -> Html b -- | Combinator for the <dt> element. -- -- Example: -- --
-- dt $ span $ text "foo" ---- -- Result: -- --
-- <dt><span>foo</span></dt> --dt :: Html a -> Html b -- | Combinator for the <em> element. -- -- Example: -- --
-- em $ span $ text "foo" ---- -- Result: -- --
-- <em><span>foo</span></em> --em :: Html a -> Html b -- | Combinator for the <fieldset> element. -- -- Example: -- --
-- fieldset $ span $ text "foo" ---- -- Result: -- --
-- <fieldset><span>foo</span></fieldset> --fieldset :: Html a -> Html b -- | Combinator for the <form> element. -- -- Example: -- --
-- form $ span $ text "foo" ---- -- Result: -- --
-- <form><span>foo</span></form> --form :: Html a -> Html b -- | Combinator for the <h1> element. -- -- Example: -- --
-- h1 $ span $ text "foo" ---- -- Result: -- --
-- <h1><span>foo</span></h1> --h1 :: Html a -> Html b -- | Combinator for the <h2> element. -- -- Example: -- --
-- h2 $ span $ text "foo" ---- -- Result: -- --
-- <h2><span>foo</span></h2> --h2 :: Html a -> Html b -- | Combinator for the <h3> element. -- -- Example: -- --
-- h3 $ span $ text "foo" ---- -- Result: -- --
-- <h3><span>foo</span></h3> --h3 :: Html a -> Html b -- | Combinator for the <h4> element. -- -- Example: -- --
-- h4 $ span $ text "foo" ---- -- Result: -- --
-- <h4><span>foo</span></h4> --h4 :: Html a -> Html b -- | Combinator for the <h5> element. -- -- Example: -- --
-- h5 $ span $ text "foo" ---- -- Result: -- --
-- <h5><span>foo</span></h5> --h5 :: Html a -> Html b -- | Combinator for the <h6> element. -- -- Example: -- --
-- h6 $ span $ text "foo" ---- -- Result: -- --
-- <h6><span>foo</span></h6> --h6 :: Html a -> Html b -- | Combinator for the <head> element. -- -- Example: -- --
-- head $ span $ text "foo" ---- -- Result: -- --
-- <head><span>foo</span></head> --head :: Html a -> Html b -- | Combinator for the <hr> element. -- -- Example: -- --
-- hr ---- -- Result: -- --
-- <hr> --hr :: Html a -- | Combinator for the <html> element. -- -- Example: -- --
-- htmlNoDocType $ span $ text "foo" ---- -- Result: -- --
-- <html><span>foo</span></html> --htmlNoDocType :: Html a -> Html b -- | Combinator for the <i> element. -- -- Example: -- --
-- i $ span $ text "foo" ---- -- Result: -- --
-- <i><span>foo</span></i> --i :: Html a -> Html b -- | Combinator for the <img> element. -- -- Example: -- --
-- img ---- -- Result: -- --
-- <img> --img :: Html a -- | Combinator for the <input> element. -- -- Example: -- --
-- input ---- -- Result: -- --
-- <input> --input :: Html a -- | Combinator for the <ins> element. -- -- Example: -- --
-- ins $ span $ text "foo" ---- -- Result: -- --
-- <ins><span>foo</span></ins> --ins :: Html a -> Html b -- | Combinator for the <kbd> element. -- -- Example: -- --
-- kbd $ span $ text "foo" ---- -- Result: -- --
-- <kbd><span>foo</span></kbd> --kbd :: Html a -> Html b -- | Combinator for the <label> element. -- -- Example: -- --
-- label $ span $ text "foo" ---- -- Result: -- --
-- <label><span>foo</span></label> --label :: Html a -> Html b -- | Combinator for the <legend> element. -- -- Example: -- --
-- legend $ span $ text "foo" ---- -- Result: -- --
-- <legend><span>foo</span></legend> --legend :: Html a -> Html b -- | Combinator for the <li> element. -- -- Example: -- --
-- li $ span $ text "foo" ---- -- Result: -- --
-- <li><span>foo</span></li> --li :: Html a -> Html b -- | Combinator for the <link> element. -- -- Example: -- --
-- link ---- -- Result: -- --
-- <link> --link :: Html a -- | Combinator for the <map> element. -- -- Example: -- --
-- map $ span $ text "foo" ---- -- Result: -- --
-- <map><span>foo</span></map> --map :: Html a -> Html b -- | Combinator for the <meta> element. -- -- Example: -- --
-- meta ---- -- Result: -- --
-- <meta> --meta :: Html a -- | Combinator for the <noscript> element. -- -- Example: -- --
-- noscript $ span $ text "foo" ---- -- Result: -- --
-- <noscript><span>foo</span></noscript> --noscript :: Html a -> Html b -- | Combinator for the <object> element. -- -- Example: -- --
-- object $ span $ text "foo" ---- -- Result: -- --
-- <object><span>foo</span></object> --object :: Html a -> Html b -- | Combinator for the <ol> element. -- -- Example: -- --
-- ol $ span $ text "foo" ---- -- Result: -- --
-- <ol><span>foo</span></ol> --ol :: Html a -> Html b -- | Combinator for the <optgroup> element. -- -- Example: -- --
-- optgroup $ span $ text "foo" ---- -- Result: -- --
-- <optgroup><span>foo</span></optgroup> --optgroup :: Html a -> Html b -- | Combinator for the <option> element. -- -- Example: -- --
-- option $ span $ text "foo" ---- -- Result: -- --
-- <option><span>foo</span></option> --option :: Html a -> Html b -- | Combinator for the <p> element. -- -- Example: -- --
-- p $ span $ text "foo" ---- -- Result: -- --
-- <p><span>foo</span></p> --p :: Html a -> Html b -- | Combinator for the <param> element. -- -- Example: -- --
-- param ---- -- Result: -- --
-- <param> --param :: Html a -- | Combinator for the <pre> element. -- -- Example: -- --
-- pre $ span $ text "foo" ---- -- Result: -- --
-- <pre><span>foo</span></pre> --pre :: Html a -> Html b -- | Combinator for the <q> element. -- -- Example: -- --
-- q $ span $ text "foo" ---- -- Result: -- --
-- <q><span>foo</span></q> --q :: Html a -> Html b -- | Combinator for the <samp> element. -- -- Example: -- --
-- samp $ span $ text "foo" ---- -- Result: -- --
-- <samp><span>foo</span></samp> --samp :: Html a -> Html b -- | Combinator for the <script> element. -- -- Example: -- --
-- script $ span $ text "foo" ---- -- Result: -- --
-- <script><span>foo</span></script> --script :: Html a -> Html b -- | Combinator for the <select> element. -- -- Example: -- --
-- select $ span $ text "foo" ---- -- Result: -- --
-- <select><span>foo</span></select> --select :: Html a -> Html b -- | Combinator for the <small> element. -- -- Example: -- --
-- small $ span $ text "foo" ---- -- Result: -- --
-- <small><span>foo</span></small> --small :: Html a -> Html b -- | Combinator for the <span> element. -- -- Example: -- --
-- span $ span $ text "foo" ---- -- Result: -- --
-- <span><span>foo</span></span> --span :: Html a -> Html b -- | Combinator for the <strong> element. -- -- Example: -- --
-- strong $ span $ text "foo" ---- -- Result: -- --
-- <strong><span>foo</span></strong> --strong :: Html a -> Html b -- | Combinator for the <style> element. -- -- Example: -- --
-- style $ span $ text "foo" ---- -- Result: -- --
-- <style><span>foo</span></style> --style :: Html a -> Html b -- | Combinator for the <sub> element. -- -- Example: -- --
-- sub $ span $ text "foo" ---- -- Result: -- --
-- <sub><span>foo</span></sub> --sub :: Html a -> Html b -- | Combinator for the <sup> element. -- -- Example: -- --
-- sup $ span $ text "foo" ---- -- Result: -- --
-- <sup><span>foo</span></sup> --sup :: Html a -> Html b -- | Combinator for the <table> element. -- -- Example: -- --
-- table $ span $ text "foo" ---- -- Result: -- --
-- <table><span>foo</span></table> --table :: Html a -> Html b -- | Combinator for the <tbody> element. -- -- Example: -- --
-- tbody $ span $ text "foo" ---- -- Result: -- --
-- <tbody><span>foo</span></tbody> --tbody :: Html a -> Html b -- | Combinator for the <td> element. -- -- Example: -- --
-- td $ span $ text "foo" ---- -- Result: -- --
-- <td><span>foo</span></td> --td :: Html a -> Html b -- | Combinator for the <textarea> element. -- -- Example: -- --
-- textarea $ span $ text "foo" ---- -- Result: -- --
-- <textarea><span>foo</span></textarea> --textarea :: Html a -> Html b -- | Combinator for the <tfoot> element. -- -- Example: -- --
-- tfoot $ span $ text "foo" ---- -- Result: -- --
-- <tfoot><span>foo</span></tfoot> --tfoot :: Html a -> Html b -- | Combinator for the <th> element. -- -- Example: -- --
-- th $ span $ text "foo" ---- -- Result: -- --
-- <th><span>foo</span></th> --th :: Html a -> Html b -- | Combinator for the <thead> element. -- -- Example: -- --
-- thead $ span $ text "foo" ---- -- Result: -- --
-- <thead><span>foo</span></thead> --thead :: Html a -> Html b -- | Combinator for the <title> element. -- -- Example: -- --
-- title $ span $ text "foo" ---- -- Result: -- --
-- <title><span>foo</span></title> --title :: Html a -> Html b -- | Combinator for the <tr> element. -- -- Example: -- --
-- tr $ span $ text "foo" ---- -- Result: -- --
-- <tr><span>foo</span></tr> --tr :: Html a -> Html b -- | Combinator for the <tt> element. -- -- Example: -- --
-- tt $ span $ text "foo" ---- -- Result: -- --
-- <tt><span>foo</span></tt> --tt :: Html a -> Html b -- | Combinator for the <ul> element. -- -- Example: -- --
-- ul $ span $ text "foo" ---- -- Result: -- --
-- <ul><span>foo</span></ul> --ul :: Html a -> Html b -- | Combinator for the <var> element. -- -- Example: -- --
-- var $ span $ text "foo" ---- -- Result: -- --
-- <var><span>foo</span></var> --var :: Html a -> Html b -- | This module exports HTML combinators used to create documents. module Text.Blaze.Html5 -- | Combinator for the <html> element. This combinator will -- also insert the correct doctype. -- -- Example: -- --
-- html $ span $ text "foo" ---- -- Result: -- --
-- <!DOCTYPE HTML> -- <html><span>foo</span></html> --html :: Html a -> Html b -- | Combinator for the document type. This should be placed at the top of -- every HTML page. -- -- Example: -- --
-- docType ---- -- Result: -- --
-- <!DOCTYPE HTML> --docType :: Html a -- | Combinator for the <a> element. -- -- Example: -- --
-- a $ span $ text "foo" ---- -- Result: -- --
-- <a><span>foo</span></a> --a :: Html a -> Html b -- | Combinator for the <abbr> element. -- -- Example: -- --
-- abbr $ span $ text "foo" ---- -- Result: -- --
-- <abbr><span>foo</span></abbr> --abbr :: Html a -> Html b -- | Combinator for the <address> element. -- -- Example: -- --
-- address $ span $ text "foo" ---- -- Result: -- --
-- <address><span>foo</span></address> --address :: Html a -> Html b -- | Combinator for the <area /> element. -- -- Example: -- --
-- area ---- -- Result: -- --
-- <area /> --area :: Html a -- | Combinator for the <article> element. -- -- Example: -- --
-- article $ span $ text "foo" ---- -- Result: -- --
-- <article><span>foo</span></article> --article :: Html a -> Html b -- | Combinator for the <aside> element. -- -- Example: -- --
-- aside $ span $ text "foo" ---- -- Result: -- --
-- <aside><span>foo</span></aside> --aside :: Html a -> Html b -- | Combinator for the <audio> element. -- -- Example: -- --
-- audio $ span $ text "foo" ---- -- Result: -- --
-- <audio><span>foo</span></audio> --audio :: Html a -> Html b -- | Combinator for the <b> element. -- -- Example: -- --
-- b $ span $ text "foo" ---- -- Result: -- --
-- <b><span>foo</span></b> --b :: Html a -> Html b -- | Combinator for the <base> element. -- -- Example: -- --
-- base $ span $ text "foo" ---- -- Result: -- --
-- <base><span>foo</span></base> --base :: Html a -> Html b -- | Combinator for the <bdo> element. -- -- Example: -- --
-- bdo $ span $ text "foo" ---- -- Result: -- --
-- <bdo><span>foo</span></bdo> --bdo :: Html a -> Html b -- | Combinator for the <blockquote> element. -- -- Example: -- --
-- blockquote $ span $ text "foo" ---- -- Result: -- --
-- <blockquote><span>foo</span></blockquote> --blockquote :: Html a -> Html b -- | Combinator for the <body> element. -- -- Example: -- --
-- body $ span $ text "foo" ---- -- Result: -- --
-- <body><span>foo</span></body> --body :: Html a -> Html b -- | Combinator for the <br /> element. -- -- Example: -- --
-- br ---- -- Result: -- --
-- <br /> --br :: Html a -- | Combinator for the <button> element. -- -- Example: -- --
-- button $ span $ text "foo" ---- -- Result: -- --
-- <button><span>foo</span></button> --button :: Html a -> Html b -- | Combinator for the <canvas> element. -- -- Example: -- --
-- canvas $ span $ text "foo" ---- -- Result: -- --
-- <canvas><span>foo</span></canvas> --canvas :: Html a -> Html b -- | Combinator for the <caption> element. -- -- Example: -- --
-- caption $ span $ text "foo" ---- -- Result: -- --
-- <caption><span>foo</span></caption> --caption :: Html a -> Html b -- | Combinator for the <cite> element. -- -- Example: -- --
-- cite $ span $ text "foo" ---- -- Result: -- --
-- <cite><span>foo</span></cite> --cite :: Html a -> Html b -- | Combinator for the <code> element. -- -- Example: -- --
-- code $ span $ text "foo" ---- -- Result: -- --
-- <code><span>foo</span></code> --code :: Html a -> Html b -- | Combinator for the <col /> element. -- -- Example: -- --
-- col ---- -- Result: -- --
-- <col /> --col :: Html a -- | Combinator for the <colgroup> element. -- -- Example: -- --
-- colgroup $ span $ text "foo" ---- -- Result: -- --
-- <colgroup><span>foo</span></colgroup> --colgroup :: Html a -> Html b -- | Combinator for the <command> element. -- -- Example: -- --
-- command $ span $ text "foo" ---- -- Result: -- --
-- <command><span>foo</span></command> --command :: Html a -> Html b -- | Combinator for the <datalist> element. -- -- Example: -- --
-- datalist $ span $ text "foo" ---- -- Result: -- --
-- <datalist><span>foo</span></datalist> --datalist :: Html a -> Html b -- | Combinator for the <dd> element. -- -- Example: -- --
-- dd $ span $ text "foo" ---- -- Result: -- --
-- <dd><span>foo</span></dd> --dd :: Html a -> Html b -- | Combinator for the <del> element. -- -- Example: -- --
-- del $ span $ text "foo" ---- -- Result: -- --
-- <del><span>foo</span></del> --del :: Html a -> Html b -- | Combinator for the <details> element. -- -- Example: -- --
-- details $ span $ text "foo" ---- -- Result: -- --
-- <details><span>foo</span></details> --details :: Html a -> Html b -- | Combinator for the <dfn> element. -- -- Example: -- --
-- dfn $ span $ text "foo" ---- -- Result: -- --
-- <dfn><span>foo</span></dfn> --dfn :: Html a -> Html b -- | Combinator for the <div> element. -- -- Example: -- --
-- div $ span $ text "foo" ---- -- Result: -- --
-- <div><span>foo</span></div> --div :: Html a -> Html b -- | Combinator for the <dl> element. -- -- Example: -- --
-- dl $ span $ text "foo" ---- -- Result: -- --
-- <dl><span>foo</span></dl> --dl :: Html a -> Html b -- | Combinator for the <dt> element. -- -- Example: -- --
-- dt $ span $ text "foo" ---- -- Result: -- --
-- <dt><span>foo</span></dt> --dt :: Html a -> Html b -- | Combinator for the <em> element. -- -- Example: -- --
-- em $ span $ text "foo" ---- -- Result: -- --
-- <em><span>foo</span></em> --em :: Html a -> Html b -- | Combinator for the <embed /> element. -- -- Example: -- --
-- embed ---- -- Result: -- --
-- <embed /> --embed :: Html a -- | Combinator for the <fieldset> element. -- -- Example: -- --
-- fieldset $ span $ text "foo" ---- -- Result: -- --
-- <fieldset><span>foo</span></fieldset> --fieldset :: Html a -> Html b -- | Combinator for the <figcaption> element. -- -- Example: -- --
-- figcaption $ span $ text "foo" ---- -- Result: -- --
-- <figcaption><span>foo</span></figcaption> --figcaption :: Html a -> Html b -- | Combinator for the <figure> element. -- -- Example: -- --
-- figure $ span $ text "foo" ---- -- Result: -- --
-- <figure><span>foo</span></figure> --figure :: Html a -> Html b -- | Combinator for the <footer> element. -- -- Example: -- --
-- footer $ span $ text "foo" ---- -- Result: -- --
-- <footer><span>foo</span></footer> --footer :: Html a -> Html b -- | Combinator for the <form> element. -- -- Example: -- --
-- form $ span $ text "foo" ---- -- Result: -- --
-- <form><span>foo</span></form> --form :: Html a -> Html b -- | Combinator for the <h1> element. -- -- Example: -- --
-- h1 $ span $ text "foo" ---- -- Result: -- --
-- <h1><span>foo</span></h1> --h1 :: Html a -> Html b -- | Combinator for the <h2> element. -- -- Example: -- --
-- h2 $ span $ text "foo" ---- -- Result: -- --
-- <h2><span>foo</span></h2> --h2 :: Html a -> Html b -- | Combinator for the <h3> element. -- -- Example: -- --
-- h3 $ span $ text "foo" ---- -- Result: -- --
-- <h3><span>foo</span></h3> --h3 :: Html a -> Html b -- | Combinator for the <h4> element. -- -- Example: -- --
-- h4 $ span $ text "foo" ---- -- Result: -- --
-- <h4><span>foo</span></h4> --h4 :: Html a -> Html b -- | Combinator for the <h5> element. -- -- Example: -- --
-- h5 $ span $ text "foo" ---- -- Result: -- --
-- <h5><span>foo</span></h5> --h5 :: Html a -> Html b -- | Combinator for the <h6> element. -- -- Example: -- --
-- h6 $ span $ text "foo" ---- -- Result: -- --
-- <h6><span>foo</span></h6> --h6 :: Html a -> Html b -- | Combinator for the <head> element. -- -- Example: -- --
-- head $ span $ text "foo" ---- -- Result: -- --
-- <head><span>foo</span></head> --head :: Html a -> Html b -- | Combinator for the <header> element. -- -- Example: -- --
-- header $ span $ text "foo" ---- -- Result: -- --
-- <header><span>foo</span></header> --header :: Html a -> Html b -- | Combinator for the <hgroup> element. -- -- Example: -- --
-- hgroup $ span $ text "foo" ---- -- Result: -- --
-- <hgroup><span>foo</span></hgroup> --hgroup :: Html a -> Html b -- | Combinator for the <hr /> element. -- -- Example: -- --
-- hr ---- -- Result: -- --
-- <hr /> --hr :: Html a -- | Combinator for the <html> element. -- -- Example: -- --
-- htmlNoDocType $ span $ text "foo" ---- -- Result: -- --
-- <html><span>foo</span></html> --htmlNoDocType :: Html a -> Html b -- | Combinator for the <i> element. -- -- Example: -- --
-- i $ span $ text "foo" ---- -- Result: -- --
-- <i><span>foo</span></i> --i :: Html a -> Html b -- | Combinator for the <iframe> element. -- -- Example: -- --
-- iframe $ span $ text "foo" ---- -- Result: -- --
-- <iframe><span>foo</span></iframe> --iframe :: Html a -> Html b -- | Combinator for the <img /> element. -- -- Example: -- --
-- img ---- -- Result: -- --
-- <img /> --img :: Html a -- | Combinator for the <input /> element. -- -- Example: -- --
-- input ---- -- Result: -- --
-- <input /> --input :: Html a -- | Combinator for the <ins> element. -- -- Example: -- --
-- ins $ span $ text "foo" ---- -- Result: -- --
-- <ins><span>foo</span></ins> --ins :: Html a -> Html b -- | Combinator for the <kbd> element. -- -- Example: -- --
-- kbd $ span $ text "foo" ---- -- Result: -- --
-- <kbd><span>foo</span></kbd> --kbd :: Html a -> Html b -- | Combinator for the <keygen> element. -- -- Example: -- --
-- keygen $ span $ text "foo" ---- -- Result: -- --
-- <keygen><span>foo</span></keygen> --keygen :: Html a -> Html b -- | Combinator for the <label> element. -- -- Example: -- --
-- label $ span $ text "foo" ---- -- Result: -- --
-- <label><span>foo</span></label> --label :: Html a -> Html b -- | Combinator for the <legend> element. -- -- Example: -- --
-- legend $ span $ text "foo" ---- -- Result: -- --
-- <legend><span>foo</span></legend> --legend :: Html a -> Html b -- | Combinator for the <li> element. -- -- Example: -- --
-- li $ span $ text "foo" ---- -- Result: -- --
-- <li><span>foo</span></li> --li :: Html a -> Html b -- | Combinator for the <link /> element. -- -- Example: -- --
-- link ---- -- Result: -- --
-- <link /> --link :: Html a -- | Combinator for the <map> element. -- -- Example: -- --
-- map $ span $ text "foo" ---- -- Result: -- --
-- <map><span>foo</span></map> --map :: Html a -> Html b -- | Combinator for the <mark> element. -- -- Example: -- --
-- mark $ span $ text "foo" ---- -- Result: -- --
-- <mark><span>foo</span></mark> --mark :: Html a -> Html b -- | Combinator for the <menu> element. -- -- Example: -- --
-- menu $ span $ text "foo" ---- -- Result: -- --
-- <menu><span>foo</span></menu> --menu :: Html a -> Html b -- | Combinator for the <meta /> element. -- -- Example: -- --
-- meta ---- -- Result: -- --
-- <meta /> --meta :: Html a -- | Combinator for the <meter> element. -- -- Example: -- --
-- meter $ span $ text "foo" ---- -- Result: -- --
-- <meter><span>foo</span></meter> --meter :: Html a -> Html b -- | Combinator for the <nav> element. -- -- Example: -- --
-- nav $ span $ text "foo" ---- -- Result: -- --
-- <nav><span>foo</span></nav> --nav :: Html a -> Html b -- | Combinator for the <noscript> element. -- -- Example: -- --
-- noscript $ span $ text "foo" ---- -- Result: -- --
-- <noscript><span>foo</span></noscript> --noscript :: Html a -> Html b -- | Combinator for the <object> element. -- -- Example: -- --
-- object $ span $ text "foo" ---- -- Result: -- --
-- <object><span>foo</span></object> --object :: Html a -> Html b -- | Combinator for the <ol> element. -- -- Example: -- --
-- ol $ span $ text "foo" ---- -- Result: -- --
-- <ol><span>foo</span></ol> --ol :: Html a -> Html b -- | Combinator for the <optgroup> element. -- -- Example: -- --
-- optgroup $ span $ text "foo" ---- -- Result: -- --
-- <optgroup><span>foo</span></optgroup> --optgroup :: Html a -> Html b -- | Combinator for the <option> element. -- -- Example: -- --
-- option $ span $ text "foo" ---- -- Result: -- --
-- <option><span>foo</span></option> --option :: Html a -> Html b -- | Combinator for the <output> element. -- -- Example: -- --
-- output $ span $ text "foo" ---- -- Result: -- --
-- <output><span>foo</span></output> --output :: Html a -> Html b -- | Combinator for the <p> element. -- -- Example: -- --
-- p $ span $ text "foo" ---- -- Result: -- --
-- <p><span>foo</span></p> --p :: Html a -> Html b -- | Combinator for the <param /> element. -- -- Example: -- --
-- param ---- -- Result: -- --
-- <param /> --param :: Html a -- | Combinator for the <pre> element. -- -- Example: -- --
-- pre $ span $ text "foo" ---- -- Result: -- --
-- <pre><span>foo</span></pre> --pre :: Html a -> Html b -- | Combinator for the <progress> element. -- -- Example: -- --
-- progress $ span $ text "foo" ---- -- Result: -- --
-- <progress><span>foo</span></progress> --progress :: Html a -> Html b -- | Combinator for the <q> element. -- -- Example: -- --
-- q $ span $ text "foo" ---- -- Result: -- --
-- <q><span>foo</span></q> --q :: Html a -> Html b -- | Combinator for the <rp> element. -- -- Example: -- --
-- rp $ span $ text "foo" ---- -- Result: -- --
-- <rp><span>foo</span></rp> --rp :: Html a -> Html b -- | Combinator for the <rt> element. -- -- Example: -- --
-- rt $ span $ text "foo" ---- -- Result: -- --
-- <rt><span>foo</span></rt> --rt :: Html a -> Html b -- | Combinator for the <ruby> element. -- -- Example: -- --
-- ruby $ span $ text "foo" ---- -- Result: -- --
-- <ruby><span>foo</span></ruby> --ruby :: Html a -> Html b -- | Combinator for the <samp> element. -- -- Example: -- --
-- samp $ span $ text "foo" ---- -- Result: -- --
-- <samp><span>foo</span></samp> --samp :: Html a -> Html b -- | Combinator for the <script> element. -- -- Example: -- --
-- script $ span $ text "foo" ---- -- Result: -- --
-- <script><span>foo</span></script> --script :: Html a -> Html b -- | Combinator for the <section> element. -- -- Example: -- --
-- section $ span $ text "foo" ---- -- Result: -- --
-- <section><span>foo</span></section> --section :: Html a -> Html b -- | Combinator for the <select> element. -- -- Example: -- --
-- select $ span $ text "foo" ---- -- Result: -- --
-- <select><span>foo</span></select> --select :: Html a -> Html b -- | Combinator for the <small> element. -- -- Example: -- --
-- small $ span $ text "foo" ---- -- Result: -- --
-- <small><span>foo</span></small> --small :: Html a -> Html b -- | Combinator for the <source> element. -- -- Example: -- --
-- source $ span $ text "foo" ---- -- Result: -- --
-- <source><span>foo</span></source> --source :: Html a -> Html b -- | Combinator for the <span> element. -- -- Example: -- --
-- span $ span $ text "foo" ---- -- Result: -- --
-- <span><span>foo</span></span> --span :: Html a -> Html b -- | Combinator for the <strong> element. -- -- Example: -- --
-- strong $ span $ text "foo" ---- -- Result: -- --
-- <strong><span>foo</span></strong> --strong :: Html a -> Html b -- | Combinator for the <style> element. -- -- Example: -- --
-- style $ span $ text "foo" ---- -- Result: -- --
-- <style><span>foo</span></style> --style :: Html a -> Html b -- | Combinator for the <sub> element. -- -- Example: -- --
-- sub $ span $ text "foo" ---- -- Result: -- --
-- <sub><span>foo</span></sub> --sub :: Html a -> Html b -- | Combinator for the <summary> element. -- -- Example: -- --
-- summary $ span $ text "foo" ---- -- Result: -- --
-- <summary><span>foo</span></summary> --summary :: Html a -> Html b -- | Combinator for the <sup> element. -- -- Example: -- --
-- sup $ span $ text "foo" ---- -- Result: -- --
-- <sup><span>foo</span></sup> --sup :: Html a -> Html b -- | Combinator for the <table> element. -- -- Example: -- --
-- table $ span $ text "foo" ---- -- Result: -- --
-- <table><span>foo</span></table> --table :: Html a -> Html b -- | Combinator for the <tbody> element. -- -- Example: -- --
-- tbody $ span $ text "foo" ---- -- Result: -- --
-- <tbody><span>foo</span></tbody> --tbody :: Html a -> Html b -- | Combinator for the <td> element. -- -- Example: -- --
-- td $ span $ text "foo" ---- -- Result: -- --
-- <td><span>foo</span></td> --td :: Html a -> Html b -- | Combinator for the <textarea> element. -- -- Example: -- --
-- textarea $ span $ text "foo" ---- -- Result: -- --
-- <textarea><span>foo</span></textarea> --textarea :: Html a -> Html b -- | Combinator for the <tfoot> element. -- -- Example: -- --
-- tfoot $ span $ text "foo" ---- -- Result: -- --
-- <tfoot><span>foo</span></tfoot> --tfoot :: Html a -> Html b -- | Combinator for the <th> element. -- -- Example: -- --
-- th $ span $ text "foo" ---- -- Result: -- --
-- <th><span>foo</span></th> --th :: Html a -> Html b -- | Combinator for the <thead> element. -- -- Example: -- --
-- thead $ span $ text "foo" ---- -- Result: -- --
-- <thead><span>foo</span></thead> --thead :: Html a -> Html b -- | Combinator for the <time> element. -- -- Example: -- --
-- time $ span $ text "foo" ---- -- Result: -- --
-- <time><span>foo</span></time> --time :: Html a -> Html b -- | Combinator for the <title> element. -- -- Example: -- --
-- title $ span $ text "foo" ---- -- Result: -- --
-- <title><span>foo</span></title> --title :: Html a -> Html b -- | Combinator for the <tr> element. -- -- Example: -- --
-- tr $ span $ text "foo" ---- -- Result: -- --
-- <tr><span>foo</span></tr> --tr :: Html a -> Html b -- | Combinator for the <ul> element. -- -- Example: -- --
-- ul $ span $ text "foo" ---- -- Result: -- --
-- <ul><span>foo</span></ul> --ul :: Html a -> Html b -- | Combinator for the <var> element. -- -- Example: -- --
-- var $ span $ text "foo" ---- -- Result: -- --
-- <var><span>foo</span></var> --var :: Html a -> Html b -- | Combinator for the <video> element. -- -- Example: -- --
-- video $ span $ text "foo" ---- -- Result: -- --
-- <video><span>foo</span></video> --video :: Html a -> Html b