-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A blazingly fast HTML combinator library for Haskell -- -- A blazingly fast HTML combinator library for the Haskell programming -- language. The Text.Blaze module is a good starting point, as well as -- this tutorial: http://jaspervdj.be/blaze/tutorial.html. @package blaze-html @version 0.4.3.2 -- | The BlazeHtml core, consisting of functions that offer the power to -- generate custom HTML elements. It also offers user-centric functions, -- which are exposed through Blaze. -- -- While this module is exported, usage of it is not recommended, unless -- you know what you are doing. This module might undergo changes at any -- time. module Text.Blaze.Internal -- | A string denoting input from different string representations. data ChoiceString -- | Static data Static :: {-# UNPACK #-} !StaticString -> ChoiceString -- | A Haskell String String :: String -> ChoiceString -- | A Text value Text :: Text -> ChoiceString -- | An encoded bytestring ByteString :: ByteString -> ChoiceString -- | A pre-escaped string PreEscaped :: ChoiceString -> ChoiceString -- | External data in style/script tags, should be checked for validity External :: ChoiceString -> ChoiceString -- | Concatenation AppendChoiceString :: ChoiceString -> ChoiceString -> ChoiceString -- | Empty string EmptyChoiceString :: ChoiceString -- | A static string that supports efficient output to all possible -- backends. data StaticString StaticString :: (String -> String) -> ByteString -> Text -> StaticString -- | Appending haskell string getString :: StaticString -> String -> String -- | UTF-8 encoded bytestring getUtf8ByteString :: StaticString -> ByteString -- | Text value getText :: StaticString -> Text -- | The core HTML datatype. data HtmlM a -- | Tag, open tag, end tag, content Parent :: StaticString -> StaticString -> StaticString -> (HtmlM b) -> HtmlM a -- | Tag, open tag, end tag Leaf :: StaticString -> StaticString -> StaticString -> HtmlM a -- | HTML content Content :: ChoiceString -> HtmlM a -- | Concatenation of two HTML pieces Append :: (HtmlM b) -> (HtmlM c) -> HtmlM a -- | Add an attribute to the inner HTML. Raw key, key, value, HTML to -- receive the attribute. AddAttribute :: StaticString -> StaticString -> ChoiceString -> (HtmlM a) -> HtmlM a -- | Add a custom attribute to the inner HTML. AddCustomAttribute :: ChoiceString -> ChoiceString -> ChoiceString -> (HtmlM a) -> HtmlM a -- | Empty HTML. Empty :: HtmlM a -- | Simplification of the HtmlM datatype. type Html = HtmlM () -- | 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 -- | Create an HTML attribute that can be applied to an HTML element later -- using the ! operator. attribute :: Tag -> Tag -> AttributeValue -> Attribute -- | 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 -- | Create a custom attribute. This is not specified in the HTML spec, but -- some JavaScript libraries rely on it. -- -- An example: -- --
-- <select dojoType="select">foo</select> ---- -- Can be produced using: -- --
-- select ! customAttribute "dojoType" "select" $ "foo" --customAttribute :: Tag -> AttributeValue -> Attribute -- | Render text. Functions like these can be used to supply content in -- HTML. text :: Text -> Html -- | Render text without escaping. preEscapedText :: Text -> Html -- | A variant of text for lazy Text. lazyText :: Text -> Html -- | A variant of preEscapedText for lazy Text preEscapedLazyText :: Text -> Html -- | Create an HTML snippet from a String. string :: String -> Html -- | Create an HTML snippet from a String without escaping preEscapedString :: String -> Html -- | Insert a ByteString. This is an unsafe operation: -- --
-- 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 background attribute. -- -- Example: -- --
-- div ! background "bar" $ "Hello." ---- -- Result: -- --
-- <div background="bar">Hello.</div> --background :: AttributeValue -> Attribute -- | Combinator for the bgcolor attribute. -- -- Example: -- --
-- div ! bgcolor "bar" $ "Hello." ---- -- Result: -- --
-- <div bgcolor="bar">Hello.</div> --bgcolor :: 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 clear attribute. -- -- Example: -- --
-- div ! clear "bar" $ "Hello." ---- -- Result: -- --
-- <div clear="bar">Hello.</div> --clear :: 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 compact attribute. -- -- Example: -- --
-- div ! compact "bar" $ "Hello." ---- -- Result: -- --
-- <div compact="bar">Hello.</div> --compact :: 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 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 frame attribute. -- -- Example: -- --
-- div ! frame "bar" $ "Hello." ---- -- Result: -- --
-- <div frame="bar">Hello.</div> --frame :: AttributeValue -> Attribute -- | Combinator for the frameborder attribute. -- -- Example: -- --
-- div ! frameborder "bar" $ "Hello." ---- -- Result: -- --
-- <div frameborder="bar">Hello.</div> --frameborder :: 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 hspace attribute. -- -- Example: -- --
-- div ! hspace "bar" $ "Hello." ---- -- Result: -- --
-- <div hspace="bar">Hello.</div> --hspace :: AttributeValue -> Attribute -- | Combinator for the http-equiv attribute. -- -- Example: -- --
-- div ! httpEquiv "bar" $ "Hello." ---- -- Result: -- --
-- <div http-equiv="bar">Hello.</div> --httpEquiv :: 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 language attribute. -- -- Example: -- --
-- div ! language "bar" $ "Hello." ---- -- Result: -- --
-- <div language="bar">Hello.</div> --language :: 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 noshade attribute. -- -- Example: -- --
-- div ! noshade "bar" $ "Hello." ---- -- Result: -- --
-- <div noshade="bar">Hello.</div> --noshade :: AttributeValue -> Attribute -- | Combinator for the nowrap attribute. -- -- Example: -- --
-- div ! nowrap "bar" $ "Hello." ---- -- Result: -- --
-- <div nowrap="bar">Hello.</div> --nowrap :: 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 scrolling attribute. -- -- Example: -- --
-- div ! scrolling "bar" $ "Hello." ---- -- Result: -- --
-- <div scrolling="bar">Hello.</div> --scrolling :: 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 start attribute. -- -- Example: -- --
-- div ! start "bar" $ "Hello." ---- -- Result: -- --
-- <div start="bar">Hello.</div> --start :: 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 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 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 vspace attribute. -- -- Example: -- --
-- div ! vspace "bar" $ "Hello." ---- -- Result: -- --
-- <div vspace="bar">Hello.</div> --vspace :: 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.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 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 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 ! httpEquiv "bar" $ "Hello." ---- -- Result: -- --
-- <div http-equiv="bar">Hello.</div> --httpEquiv :: 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.Html4.Transitional.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 background attribute. -- -- Example: -- --
-- div ! background "bar" $ "Hello." ---- -- Result: -- --
-- <div background="bar">Hello.</div> --background :: AttributeValue -> Attribute -- | Combinator for the bgcolor attribute. -- -- Example: -- --
-- div ! bgcolor "bar" $ "Hello." ---- -- Result: -- --
-- <div bgcolor="bar">Hello.</div> --bgcolor :: 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 clear attribute. -- -- Example: -- --
-- div ! clear "bar" $ "Hello." ---- -- Result: -- --
-- <div clear="bar">Hello.</div> --clear :: 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 compact attribute. -- -- Example: -- --
-- div ! compact "bar" $ "Hello." ---- -- Result: -- --
-- <div compact="bar">Hello.</div> --compact :: 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 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 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 hspace attribute. -- -- Example: -- --
-- div ! hspace "bar" $ "Hello." ---- -- Result: -- --
-- <div hspace="bar">Hello.</div> --hspace :: AttributeValue -> Attribute -- | Combinator for the http-equiv attribute. -- -- Example: -- --
-- div ! httpEquiv "bar" $ "Hello." ---- -- Result: -- --
-- <div http-equiv="bar">Hello.</div> --httpEquiv :: 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 language attribute. -- -- Example: -- --
-- div ! language "bar" $ "Hello." ---- -- Result: -- --
-- <div language="bar">Hello.</div> --language :: 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 noshade attribute. -- -- Example: -- --
-- div ! noshade "bar" $ "Hello." ---- -- Result: -- --
-- <div noshade="bar">Hello.</div> --noshade :: AttributeValue -> Attribute -- | Combinator for the nowrap attribute. -- -- Example: -- --
-- div ! nowrap "bar" $ "Hello." ---- -- Result: -- --
-- <div nowrap="bar">Hello.</div> --nowrap :: 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 start attribute. -- -- Example: -- --
-- div ! start "bar" $ "Hello." ---- -- Result: -- --
-- <div start="bar">Hello.</div> --start :: 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 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 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 vspace attribute. -- -- Example: -- --
-- div ! vspace "bar" $ "Hello." ---- -- Result: -- --
-- <div vspace="bar">Hello.</div> --vspace :: 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 ! acceptCharset "bar" $ "Hello." ---- -- Result: -- --
-- <div accept-charset="bar">Hello.</div> --acceptCharset :: 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 ! httpEquiv "bar" $ "Hello." ---- -- Result: -- --
-- <div http-equiv="bar">Hello.</div> --httpEquiv :: 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 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 oncanplay attribute. -- -- Example: -- --
-- div ! oncanplay "bar" $ "Hello." ---- -- Result: -- --
-- <div oncanplay="bar">Hello.</div> --oncanplay :: AttributeValue -> Attribute -- | Combinator for the oncanplaythrough attribute. -- -- Example: -- --
-- div ! oncanplaythrough "bar" $ "Hello." ---- -- Result: -- --
-- <div oncanplaythrough="bar">Hello.</div> --oncanplaythrough :: 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 oncontextmenu attribute. -- -- Example: -- --
-- div ! oncontextmenu "bar" $ "Hello." ---- -- Result: -- --
-- <div oncontextmenu="bar">Hello.</div> --oncontextmenu :: AttributeValue -> Attribute -- | Combinator for the ondblclick attribute. -- -- Example: -- --
-- div ! ondblclick "bar" $ "Hello." ---- -- Result: -- --
-- <div ondblclick="bar">Hello.</div> --ondblclick :: AttributeValue -> Attribute -- | Combinator for the ondrag attribute. -- -- Example: -- --
-- div ! ondrag "bar" $ "Hello." ---- -- Result: -- --
-- <div ondrag="bar">Hello.</div> --ondrag :: AttributeValue -> Attribute -- | Combinator for the ondragend attribute. -- -- Example: -- --
-- div ! ondragend "bar" $ "Hello." ---- -- Result: -- --
-- <div ondragend="bar">Hello.</div> --ondragend :: AttributeValue -> Attribute -- | Combinator for the ondragenter attribute. -- -- Example: -- --
-- div ! ondragenter "bar" $ "Hello." ---- -- Result: -- --
-- <div ondragenter="bar">Hello.</div> --ondragenter :: AttributeValue -> Attribute -- | Combinator for the ondragleave attribute. -- -- Example: -- --
-- div ! ondragleave "bar" $ "Hello." ---- -- Result: -- --
-- <div ondragleave="bar">Hello.</div> --ondragleave :: AttributeValue -> Attribute -- | Combinator for the ondragover attribute. -- -- Example: -- --
-- div ! ondragover "bar" $ "Hello." ---- -- Result: -- --
-- <div ondragover="bar">Hello.</div> --ondragover :: AttributeValue -> Attribute -- | Combinator for the ondragstart attribute. -- -- Example: -- --
-- div ! ondragstart "bar" $ "Hello." ---- -- Result: -- --
-- <div ondragstart="bar">Hello.</div> --ondragstart :: AttributeValue -> Attribute -- | Combinator for the ondrop attribute. -- -- Example: -- --
-- div ! ondrop "bar" $ "Hello." ---- -- Result: -- --
-- <div ondrop="bar">Hello.</div> --ondrop :: AttributeValue -> Attribute -- | Combinator for the ondurationchange attribute. -- -- Example: -- --
-- div ! ondurationchange "bar" $ "Hello." ---- -- Result: -- --
-- <div ondurationchange="bar">Hello.</div> --ondurationchange :: AttributeValue -> Attribute -- | Combinator for the onemptied attribute. -- -- Example: -- --
-- div ! onemptied "bar" $ "Hello." ---- -- Result: -- --
-- <div onemptied="bar">Hello.</div> --onemptied :: AttributeValue -> Attribute -- | Combinator for the onended attribute. -- -- Example: -- --
-- div ! onended "bar" $ "Hello." ---- -- Result: -- --
-- <div onended="bar">Hello.</div> --onended :: 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 onformchange attribute. -- -- Example: -- --
-- div ! onformchange "bar" $ "Hello." ---- -- Result: -- --
-- <div onformchange="bar">Hello.</div> --onformchange :: AttributeValue -> Attribute -- | Combinator for the onforminput attribute. -- -- Example: -- --
-- div ! onforminput "bar" $ "Hello." ---- -- Result: -- --
-- <div onforminput="bar">Hello.</div> --onforminput :: AttributeValue -> Attribute -- | Combinator for the onhaschange attribute. -- -- Example: -- --
-- div ! onhaschange "bar" $ "Hello." ---- -- Result: -- --
-- <div onhaschange="bar">Hello.</div> --onhaschange :: AttributeValue -> Attribute -- | Combinator for the oninput attribute. -- -- Example: -- --
-- div ! oninput "bar" $ "Hello." ---- -- Result: -- --
-- <div oninput="bar">Hello.</div> --oninput :: AttributeValue -> Attribute -- | Combinator for the oninvalid attribute. -- -- Example: -- --
-- div ! oninvalid "bar" $ "Hello." ---- -- Result: -- --
-- <div oninvalid="bar">Hello.</div> --oninvalid :: AttributeValue -> Attribute -- | Combinator for the onkeydown attribute. -- -- Example: -- --
-- div ! onkeydown "bar" $ "Hello." ---- -- Result: -- --
-- <div onkeydown="bar">Hello.</div> --onkeydown :: 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 onloadeddata attribute. -- -- Example: -- --
-- div ! onloadeddata "bar" $ "Hello." ---- -- Result: -- --
-- <div onloadeddata="bar">Hello.</div> --onloadeddata :: AttributeValue -> Attribute -- | Combinator for the onloadedmetadata attribute. -- -- Example: -- --
-- div ! onloadedmetadata "bar" $ "Hello." ---- -- Result: -- --
-- <div onloadedmetadata="bar">Hello.</div> --onloadedmetadata :: AttributeValue -> Attribute -- | Combinator for the onloadstart attribute. -- -- Example: -- --
-- div ! onloadstart "bar" $ "Hello." ---- -- Result: -- --
-- <div onloadstart="bar">Hello.</div> --onloadstart :: AttributeValue -> Attribute -- | Combinator for the onmessage attribute. -- -- Example: -- --
-- div ! onmessage "bar" $ "Hello." ---- -- Result: -- --
-- <div onmessage="bar">Hello.</div> --onmessage :: 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 onmousewheel attribute. -- -- Example: -- --
-- div ! onmousewheel "bar" $ "Hello." ---- -- Result: -- --
-- <div onmousewheel="bar">Hello.</div> --onmousewheel :: 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 onpause attribute. -- -- Example: -- --
-- div ! onpause "bar" $ "Hello." ---- -- Result: -- --
-- <div onpause="bar">Hello.</div> --onpause :: AttributeValue -> Attribute -- | Combinator for the onplay attribute. -- -- Example: -- --
-- div ! onplay "bar" $ "Hello." ---- -- Result: -- --
-- <div onplay="bar">Hello.</div> --onplay :: AttributeValue -> Attribute -- | Combinator for the onplaying attribute. -- -- Example: -- --
-- div ! onplaying "bar" $ "Hello." ---- -- Result: -- --
-- <div onplaying="bar">Hello.</div> --onplaying :: AttributeValue -> Attribute -- | Combinator for the onprogress attribute. -- -- Example: -- --
-- div ! onprogress "bar" $ "Hello." ---- -- Result: -- --
-- <div onprogress="bar">Hello.</div> --onprogress :: AttributeValue -> Attribute -- | Combinator for the onpropstate attribute. -- -- Example: -- --
-- div ! onpropstate "bar" $ "Hello." ---- -- Result: -- --
-- <div onpropstate="bar">Hello.</div> --onpropstate :: AttributeValue -> Attribute -- | Combinator for the onratechange attribute. -- -- Example: -- --
-- div ! onratechange "bar" $ "Hello." ---- -- Result: -- --
-- <div onratechange="bar">Hello.</div> --onratechange :: AttributeValue -> Attribute -- | Combinator for the onreadystatechange attribute. -- -- Example: -- --
-- div ! onreadystatechange "bar" $ "Hello." ---- -- Result: -- --
-- <div onreadystatechange="bar">Hello.</div> --onreadystatechange :: 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 onscroll attribute. -- -- Example: -- --
-- div ! onscroll "bar" $ "Hello." ---- -- Result: -- --
-- <div onscroll="bar">Hello.</div> --onscroll :: AttributeValue -> Attribute -- | Combinator for the onseeked attribute. -- -- Example: -- --
-- div ! onseeked "bar" $ "Hello." ---- -- Result: -- --
-- <div onseeked="bar">Hello.</div> --onseeked :: AttributeValue -> Attribute -- | Combinator for the onseeking attribute. -- -- Example: -- --
-- div ! onseeking "bar" $ "Hello." ---- -- Result: -- --
-- <div onseeking="bar">Hello.</div> --onseeking :: AttributeValue -> Attribute -- | Combinator for the onselect attribute. -- -- Example: -- --
-- div ! onselect "bar" $ "Hello." ---- -- Result: -- --
-- <div onselect="bar">Hello.</div> --onselect :: AttributeValue -> Attribute -- | Combinator for the onstalled attribute. -- -- Example: -- --
-- div ! onstalled "bar" $ "Hello." ---- -- Result: -- --
-- <div onstalled="bar">Hello.</div> --onstalled :: AttributeValue -> Attribute -- | Combinator for the onstorage attribute. -- -- Example: -- --
-- div ! onstorage "bar" $ "Hello." ---- -- Result: -- --
-- <div onstorage="bar">Hello.</div> --onstorage :: AttributeValue -> Attribute -- | Combinator for the onsubmit attribute. -- -- Example: -- --
-- div ! onsubmit "bar" $ "Hello." ---- -- Result: -- --
-- <div onsubmit="bar">Hello.</div> --onsubmit :: AttributeValue -> Attribute -- | Combinator for the onsuspend attribute. -- -- Example: -- --
-- div ! onsuspend "bar" $ "Hello." ---- -- Result: -- --
-- <div onsuspend="bar">Hello.</div> --onsuspend :: AttributeValue -> Attribute -- | Combinator for the ontimeupdate attribute. -- -- Example: -- --
-- div ! ontimeupdate "bar" $ "Hello." ---- -- Result: -- --
-- <div ontimeupdate="bar">Hello.</div> --ontimeupdate :: 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 onvolumechange attribute. -- -- Example: -- --
-- div ! onvolumechange "bar" $ "Hello." ---- -- Result: -- --
-- <div onvolumechange="bar">Hello.</div> --onvolumechange :: AttributeValue -> Attribute -- | Combinator for the onwaiting attribute. -- -- Example: -- --
-- div ! onwaiting "bar" $ "Hello." ---- -- Result: -- --
-- <div onwaiting="bar">Hello.</div> --onwaiting :: 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 -- | A renderer that produces a native Haskell String, mostly meant -- for debugging purposes. module Text.Blaze.Renderer.String -- | Render a ChoiceString. fromChoiceString :: ChoiceString -> String -> String -- | Render HTML to a lazy String. renderHtml :: Html -> String -- | A renderer that produces pretty HTML, mostly meant for debugging -- purposes. module Text.Blaze.Renderer.Pretty -- | Render HTML to a lazy String. The result is prettified. renderHtml :: Html -> String -- | A renderer that produces a lazy Text value, using the Text -- Builder. module Text.Blaze.Renderer.Text -- | Render HTML to a text builder renderHtmlBuilder :: Html -> Builder -- | Render some Html to a Text Builder. renderHtmlBuilderWith :: (ByteString -> Text) -> Html -> Builder -- | Render HTML to a lazy Text value. If there are any ByteString's in the -- input HTML, this function will consider them as UTF-8 encoded values -- and decode them that way. renderHtml :: Html -> Text -- | Render HTML to a lazy Text value. This function allows you to specify -- what should happen with ByteString's in the input HTML. You can decode -- them or drop them, this depends on the application... renderHtmlWith :: (ByteString -> Text) -> Html -> Text module Text.Blaze.Renderer.Utf8 -- | Render some Html to a Builder. renderHtmlBuilder :: Html -> Builder -- | Render HTML to a lazy UTF-8 encoded 'L.ByteString.' renderHtml :: Html -> ByteString -- | Repeatedly render HTML to a buffer and process this buffer using the -- given IO action. renderHtmlToByteStringIO :: (ByteString -> IO ()) -> Html -> IO () -- | This module exports combinators that provide you with the ability to -- set attributes on HTML elements. module Text.Blaze.XHtml1.FrameSet.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 background attribute. -- -- Example: -- --
-- div ! background "bar" $ "Hello." ---- -- Result: -- --
-- <div background="bar">Hello.</div> --background :: AttributeValue -> Attribute -- | Combinator for the bgcolor attribute. -- -- Example: -- --
-- div ! bgcolor "bar" $ "Hello." ---- -- Result: -- --
-- <div bgcolor="bar">Hello.</div> --bgcolor :: 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 clear attribute. -- -- Example: -- --
-- div ! clear "bar" $ "Hello." ---- -- Result: -- --
-- <div clear="bar">Hello.</div> --clear :: 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 compact attribute. -- -- Example: -- --
-- div ! compact "bar" $ "Hello." ---- -- Result: -- --
-- <div compact="bar">Hello.</div> --compact :: 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 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 frame attribute. -- -- Example: -- --
-- div ! frame "bar" $ "Hello." ---- -- Result: -- --
-- <div frame="bar">Hello.</div> --frame :: AttributeValue -> Attribute -- | Combinator for the frameborder attribute. -- -- Example: -- --
-- div ! frameborder "bar" $ "Hello." ---- -- Result: -- --
-- <div frameborder="bar">Hello.</div> --frameborder :: 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 hspace attribute. -- -- Example: -- --
-- div ! hspace "bar" $ "Hello." ---- -- Result: -- --
-- <div hspace="bar">Hello.</div> --hspace :: AttributeValue -> Attribute -- | Combinator for the http-equiv attribute. -- -- Example: -- --
-- div ! httpEquiv "bar" $ "Hello." ---- -- Result: -- --
-- <div http-equiv="bar">Hello.</div> --httpEquiv :: 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 language attribute. -- -- Example: -- --
-- div ! language "bar" $ "Hello." ---- -- Result: -- --
-- <div language="bar">Hello.</div> --language :: 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 noshade attribute. -- -- Example: -- --
-- div ! noshade "bar" $ "Hello." ---- -- Result: -- --
-- <div noshade="bar">Hello.</div> --noshade :: AttributeValue -> Attribute -- | Combinator for the nowrap attribute. -- -- Example: -- --
-- div ! nowrap "bar" $ "Hello." ---- -- Result: -- --
-- <div nowrap="bar">Hello.</div> --nowrap :: 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 scrolling attribute. -- -- Example: -- --
-- div ! scrolling "bar" $ "Hello." ---- -- Result: -- --
-- <div scrolling="bar">Hello.</div> --scrolling :: 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 start attribute. -- -- Example: -- --
-- div ! start "bar" $ "Hello." ---- -- Result: -- --
-- <div start="bar">Hello.</div> --start :: 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 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 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 vspace attribute. -- -- Example: -- --
-- div ! vspace "bar" $ "Hello." ---- -- Result: -- --
-- <div vspace="bar">Hello.</div> --vspace :: 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.XHtml1.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 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 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 ! httpEquiv "bar" $ "Hello." ---- -- Result: -- --
-- <div http-equiv="bar">Hello.</div> --httpEquiv :: 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.XHtml1.Transitional.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 background attribute. -- -- Example: -- --
-- div ! background "bar" $ "Hello." ---- -- Result: -- --
-- <div background="bar">Hello.</div> --background :: AttributeValue -> Attribute -- | Combinator for the bgcolor attribute. -- -- Example: -- --
-- div ! bgcolor "bar" $ "Hello." ---- -- Result: -- --
-- <div bgcolor="bar">Hello.</div> --bgcolor :: 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 clear attribute. -- -- Example: -- --
-- div ! clear "bar" $ "Hello." ---- -- Result: -- --
-- <div clear="bar">Hello.</div> --clear :: 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 compact attribute. -- -- Example: -- --
-- div ! compact "bar" $ "Hello." ---- -- Result: -- --
-- <div compact="bar">Hello.</div> --compact :: 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 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 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 hspace attribute. -- -- Example: -- --
-- div ! hspace "bar" $ "Hello." ---- -- Result: -- --
-- <div hspace="bar">Hello.</div> --hspace :: AttributeValue -> Attribute -- | Combinator for the http-equiv attribute. -- -- Example: -- --
-- div ! httpEquiv "bar" $ "Hello." ---- -- Result: -- --
-- <div http-equiv="bar">Hello.</div> --httpEquiv :: 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 language attribute. -- -- Example: -- --
-- div ! language "bar" $ "Hello." ---- -- Result: -- --
-- <div language="bar">Hello.</div> --language :: 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 noshade attribute. -- -- Example: -- --
-- div ! noshade "bar" $ "Hello." ---- -- Result: -- --
-- <div noshade="bar">Hello.</div> --noshade :: AttributeValue -> Attribute -- | Combinator for the nowrap attribute. -- -- Example: -- --
-- div ! nowrap "bar" $ "Hello." ---- -- Result: -- --
-- <div nowrap="bar">Hello.</div> --nowrap :: 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 start attribute. -- -- Example: -- --
-- div ! start "bar" $ "Hello." ---- -- Result: -- --
-- <div start="bar">Hello.</div> --start :: 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 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 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 vspace attribute. -- -- Example: -- --
-- div ! vspace "bar" $ "Hello." ---- -- Result: -- --
-- <div vspace="bar">Hello.</div> --vspace :: AttributeValue -> Attribute -- | Combinator for the width attribute. -- -- Example: -- --
-- div ! width "bar" $ "Hello." ---- -- Result: -- --
-- <div width="bar">Hello.</div> --width :: AttributeValue -> Attribute -- | BlazeHtml is an HTML combinator library. It provides a way to embed -- HTML in Haskell in an efficient and convenient way, with a -- light-weight syntax. -- -- To use the library, one needs to import a set of HTML combinators. For -- example, you can use HTML 4 Strict. -- --
-- {-# LANGUAGE OverloadedStrings #-}
-- import Prelude hiding (head, id, div)
-- import Text.Blaze.Html4.Strict hiding (map)
-- import Text.Blaze.Html4.Strict.Attributes hiding (title)
--
--
-- To render the page later on, you need a so called Renderer. The
-- recommended renderer is an UTF-8 renderer which produces a lazy
-- bytestring.
--
-- -- import Text.Blaze.Renderer.Utf8 (renderHtml) ---- -- Now, you can describe pages using the imported combinators. -- --
-- page1 :: Html -- page1 = html $ do -- head $ do -- title "Introduction page." -- link ! rel "stylesheet" ! type_ "text/css" ! href "screen.css" -- body $ do -- div ! id "header" $ "Syntax" -- p "This is an example of BlazeHtml syntax." -- ul $ mapM_ (li . toHtml . show) [1, 2, 3] ---- -- The resulting HTML can now be extracted using: -- --
-- renderHtml page1 --module Text.Blaze -- | Simplification of the HtmlM datatype. type Html = HtmlM () -- | 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 -- | Create a custom attribute. This is not specified in the HTML spec, but -- some JavaScript libraries rely on it. -- -- An example: -- --
-- <select dojoType="select">foo</select> ---- -- Can be produced using: -- --
-- select ! customAttribute "dojoType" "select" $ "foo" --customAttribute :: Tag -> AttributeValue -> Attribute -- | Class allowing us to use a single function for HTML values class ToHtml a toHtml :: ToHtml a => a -> Html -- | Render text. Functions like these can be used to supply content in -- HTML. text :: Text -> Html -- | Render text without escaping. preEscapedText :: Text -> Html -- | A variant of text for lazy Text. lazyText :: Text -> Html -- | A variant of preEscapedText for lazy Text preEscapedLazyText :: Text -> Html -- | Create an HTML snippet from a String. string :: String -> Html -- | Create an HTML snippet from a String without escaping preEscapedString :: String -> Html -- | 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 instance ToValue Double instance ToValue Float instance ToValue Integer instance ToValue Bool instance ToValue Char instance ToValue Int instance ToValue String instance ToValue Text instance ToValue Text instance ToValue AttributeValue instance ToHtml Double instance ToHtml Float instance ToHtml Integer instance ToHtml Bool instance ToHtml Char instance ToHtml Int instance ToHtml String instance ToHtml Text instance ToHtml Text instance ToHtml [Html] instance ToHtml Html -- | This module exports HTML combinators used to create documents. module Text.Blaze.Html4.FrameSet -- | 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 FrameSet//EN" -- "http://www.w3.org/TR/html4/frameset.dtd"> --docType :: Html -- | Combinator for the <html> element. This combinator will -- also insert the correct doctype. -- -- Example: -- --
-- docTypeHtml $ span $ text "foo" ---- -- Result: -- --
-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 FrameSet//EN" -- "http://www.w3.org/TR/html4/frameset.dtd"> -- <html><span>foo</span></html> --docTypeHtml :: Html -> Html -- | Combinator for the <a> element. -- -- Example: -- --
-- a $ span $ text "foo" ---- -- Result: -- --
-- <a><span>foo</span></a> --a :: Html -> Html -- | Combinator for the <abbr> element. -- -- Example: -- --
-- abbr $ span $ text "foo" ---- -- Result: -- --
-- <abbr><span>foo</span></abbr> --abbr :: Html -> Html -- | Combinator for the <acronym> element. -- -- Example: -- --
-- acronym $ span $ text "foo" ---- -- Result: -- --
-- <acronym><span>foo</span></acronym> --acronym :: Html -> Html -- | Combinator for the <address> element. -- -- Example: -- --
-- address $ span $ text "foo" ---- -- Result: -- --
-- <address><span>foo</span></address> --address :: Html -> Html -- | Combinator for the <applet> element. -- -- Example: -- --
-- applet $ span $ text "foo" ---- -- Result: -- --
-- <applet><span>foo</span></applet> --applet :: Html -> Html -- | Combinator for the <area /> element. -- -- Example: -- --
-- area ---- -- Result: -- --
-- <area /> --area :: Html -- | Combinator for the <b> element. -- -- Example: -- --
-- b $ span $ text "foo" ---- -- Result: -- --
-- <b><span>foo</span></b> --b :: Html -> Html -- | Combinator for the <basefont /> element. -- -- Example: -- --
-- basefont ---- -- Result: -- --
-- <basefont /> --basefont :: Html -- | Combinator for the <bdo> element. -- -- Example: -- --
-- bdo $ span $ text "foo" ---- -- Result: -- --
-- <bdo><span>foo</span></bdo> --bdo :: Html -> Html -- | Combinator for the <big> element. -- -- Example: -- --
-- big $ span $ text "foo" ---- -- Result: -- --
-- <big><span>foo</span></big> --big :: Html -> Html -- | Combinator for the <blockquote> element. -- -- Example: -- --
-- blockquote $ span $ text "foo" ---- -- Result: -- --
-- <blockquote><span>foo</span></blockquote> --blockquote :: Html -> Html -- | Combinator for the <body> element. -- -- Example: -- --
-- body $ span $ text "foo" ---- -- Result: -- --
-- <body><span>foo</span></body> --body :: Html -> Html -- | Combinator for the <br /> element. -- -- Example: -- --
-- br ---- -- Result: -- --
-- <br /> --br :: Html -- | Combinator for the <button> element. -- -- Example: -- --
-- button $ span $ text "foo" ---- -- Result: -- --
-- <button><span>foo</span></button> --button :: Html -> Html -- | Combinator for the <caption> element. -- -- Example: -- --
-- caption $ span $ text "foo" ---- -- Result: -- --
-- <caption><span>foo</span></caption> --caption :: Html -> Html -- | Combinator for the <center> element. -- -- Example: -- --
-- center $ span $ text "foo" ---- -- Result: -- --
-- <center><span>foo</span></center> --center :: Html -> Html -- | Combinator for the <cite> element. -- -- Example: -- --
-- cite $ span $ text "foo" ---- -- Result: -- --
-- <cite><span>foo</span></cite> --cite :: Html -> Html -- | Combinator for the <code> element. -- -- Example: -- --
-- code $ span $ text "foo" ---- -- Result: -- --
-- <code><span>foo</span></code> --code :: Html -> Html -- | Combinator for the <col /> element. -- -- Example: -- --
-- col ---- -- Result: -- --
-- <col /> --col :: Html -- | Combinator for the <colgroup> element. -- -- Example: -- --
-- colgroup $ span $ text "foo" ---- -- Result: -- --
-- <colgroup><span>foo</span></colgroup> --colgroup :: Html -> Html -- | Combinator for the <dd> element. -- -- Example: -- --
-- dd $ span $ text "foo" ---- -- Result: -- --
-- <dd><span>foo</span></dd> --dd :: Html -> Html -- | Combinator for the <del> element. -- -- Example: -- --
-- del $ span $ text "foo" ---- -- Result: -- --
-- <del><span>foo</span></del> --del :: Html -> Html -- | Combinator for the <dfn> element. -- -- Example: -- --
-- dfn $ span $ text "foo" ---- -- Result: -- --
-- <dfn><span>foo</span></dfn> --dfn :: Html -> Html -- | Combinator for the <dir> element. -- -- Example: -- --
-- dir $ span $ text "foo" ---- -- Result: -- --
-- <dir><span>foo</span></dir> --dir :: Html -> Html -- | Combinator for the <div> element. -- -- Example: -- --
-- div $ span $ text "foo" ---- -- Result: -- --
-- <div><span>foo</span></div> --div :: Html -> Html -- | Combinator for the <dl> element. -- -- Example: -- --
-- dl $ span $ text "foo" ---- -- Result: -- --
-- <dl><span>foo</span></dl> --dl :: Html -> Html -- | Combinator for the <dt> element. -- -- Example: -- --
-- dt $ span $ text "foo" ---- -- Result: -- --
-- <dt><span>foo</span></dt> --dt :: Html -> Html -- | Combinator for the <em> element. -- -- Example: -- --
-- em $ span $ text "foo" ---- -- Result: -- --
-- <em><span>foo</span></em> --em :: Html -> Html -- | Combinator for the <fieldset> element. -- -- Example: -- --
-- fieldset $ span $ text "foo" ---- -- Result: -- --
-- <fieldset><span>foo</span></fieldset> --fieldset :: Html -> Html -- | Combinator for the <font> element. -- -- Example: -- --
-- font $ span $ text "foo" ---- -- Result: -- --
-- <font><span>foo</span></font> --font :: Html -> Html -- | Combinator for the <form> element. -- -- Example: -- --
-- form $ span $ text "foo" ---- -- Result: -- --
-- <form><span>foo</span></form> --form :: Html -> Html -- | Combinator for the <frame /> element. -- -- Example: -- --
-- frame ---- -- Result: -- --
-- <frame /> --frame :: Html -- | Combinator for the <frameset> element. -- -- Example: -- --
-- frameset $ span $ text "foo" ---- -- Result: -- --
-- <frameset><span>foo</span></frameset> --frameset :: Html -> Html -- | Combinator for the <h1> element. -- -- Example: -- --
-- h1 $ span $ text "foo" ---- -- Result: -- --
-- <h1><span>foo</span></h1> --h1 :: Html -> Html -- | Combinator for the <h2> element. -- -- Example: -- --
-- h2 $ span $ text "foo" ---- -- Result: -- --
-- <h2><span>foo</span></h2> --h2 :: Html -> Html -- | Combinator for the <h3> element. -- -- Example: -- --
-- h3 $ span $ text "foo" ---- -- Result: -- --
-- <h3><span>foo</span></h3> --h3 :: Html -> Html -- | Combinator for the <h4> element. -- -- Example: -- --
-- h4 $ span $ text "foo" ---- -- Result: -- --
-- <h4><span>foo</span></h4> --h4 :: Html -> Html -- | Combinator for the <h5> element. -- -- Example: -- --
-- h5 $ span $ text "foo" ---- -- Result: -- --
-- <h5><span>foo</span></h5> --h5 :: Html -> Html -- | Combinator for the <h6> element. -- -- Example: -- --
-- h6 $ span $ text "foo" ---- -- Result: -- --
-- <h6><span>foo</span></h6> --h6 :: Html -> Html -- | Combinator for the <head> element. -- -- Example: -- --
-- head $ span $ text "foo" ---- -- Result: -- --
-- <head><span>foo</span></head> --head :: Html -> Html -- | Combinator for the <hr /> element. -- -- Example: -- --
-- hr ---- -- Result: -- --
-- <hr /> --hr :: Html -- | Combinator for the <html> element. -- -- Example: -- --
-- html $ span $ text "foo" ---- -- Result: -- --
-- <html><span>foo</span></html> --html :: Html -> Html -- | Combinator for the <i> element. -- -- Example: -- --
-- i $ span $ text "foo" ---- -- Result: -- --
-- <i><span>foo</span></i> --i :: Html -> Html -- | Combinator for the <iframe> element. -- -- Example: -- --
-- iframe $ span $ text "foo" ---- -- Result: -- --
-- <iframe><span>foo</span></iframe> --iframe :: Html -> Html -- | Combinator for the <img /> element. -- -- Example: -- --
-- img ---- -- Result: -- --
-- <img /> --img :: Html -- | Combinator for the <input /> element. -- -- Example: -- --
-- input ---- -- Result: -- --
-- <input /> --input :: Html -- | Combinator for the <ins> element. -- -- Example: -- --
-- ins $ span $ text "foo" ---- -- Result: -- --
-- <ins><span>foo</span></ins> --ins :: Html -> Html -- | Combinator for the <isindex> element. -- -- Example: -- --
-- isindex $ span $ text "foo" ---- -- Result: -- --
-- <isindex><span>foo</span></isindex> --isindex :: Html -> Html -- | Combinator for the <kbd> element. -- -- Example: -- --
-- kbd $ span $ text "foo" ---- -- Result: -- --
-- <kbd><span>foo</span></kbd> --kbd :: Html -> Html -- | Combinator for the <label> element. -- -- Example: -- --
-- label $ span $ text "foo" ---- -- Result: -- --
-- <label><span>foo</span></label> --label :: Html -> Html -- | Combinator for the <legend> element. -- -- Example: -- --
-- legend $ span $ text "foo" ---- -- Result: -- --
-- <legend><span>foo</span></legend> --legend :: Html -> Html -- | Combinator for the <li> element. -- -- Example: -- --
-- li $ span $ text "foo" ---- -- Result: -- --
-- <li><span>foo</span></li> --li :: Html -> Html -- | Combinator for the <link /> element. -- -- Example: -- --
-- link ---- -- Result: -- --
-- <link /> --link :: Html -- | Combinator for the <map> element. -- -- Example: -- --
-- map $ span $ text "foo" ---- -- Result: -- --
-- <map><span>foo</span></map> --map :: Html -> Html -- | Combinator for the <menu> element. -- -- Example: -- --
-- menu $ span $ text "foo" ---- -- Result: -- --
-- <menu><span>foo</span></menu> --menu :: Html -> Html -- | Combinator for the <meta /> element. -- -- Example: -- --
-- meta ---- -- Result: -- --
-- <meta /> --meta :: Html -- | Combinator for the <noframes> element. -- -- Example: -- --
-- noframes $ span $ text "foo" ---- -- Result: -- --
-- <noframes><span>foo</span></noframes> --noframes :: Html -> Html -- | Combinator for the <noscript> element. -- -- Example: -- --
-- noscript $ span $ text "foo" ---- -- Result: -- --
-- <noscript><span>foo</span></noscript> --noscript :: Html -> Html -- | Combinator for the <object> element. -- -- Example: -- --
-- object $ span $ text "foo" ---- -- Result: -- --
-- <object><span>foo</span></object> --object :: Html -> Html -- | Combinator for the <ol> element. -- -- Example: -- --
-- ol $ span $ text "foo" ---- -- Result: -- --
-- <ol><span>foo</span></ol> --ol :: Html -> Html -- | Combinator for the <optgroup> element. -- -- Example: -- --
-- optgroup $ span $ text "foo" ---- -- Result: -- --
-- <optgroup><span>foo</span></optgroup> --optgroup :: Html -> Html -- | Combinator for the <option> element. -- -- Example: -- --
-- option $ span $ text "foo" ---- -- Result: -- --
-- <option><span>foo</span></option> --option :: Html -> Html -- | Combinator for the <p> element. -- -- Example: -- --
-- p $ span $ text "foo" ---- -- Result: -- --
-- <p><span>foo</span></p> --p :: Html -> Html -- | Combinator for the <param /> element. -- -- Example: -- --
-- param ---- -- Result: -- --
-- <param /> --param :: Html -- | Combinator for the <pre> element. -- -- Example: -- --
-- pre $ span $ text "foo" ---- -- Result: -- --
-- <pre><span>foo</span></pre> --pre :: Html -> Html -- | Combinator for the <q> element. -- -- Example: -- --
-- q $ span $ text "foo" ---- -- Result: -- --
-- <q><span>foo</span></q> --q :: Html -> Html -- | Combinator for the <s> element. -- -- Example: -- --
-- s $ span $ text "foo" ---- -- Result: -- --
-- <s><span>foo</span></s> --s :: Html -> Html -- | Combinator for the <samp> element. -- -- Example: -- --
-- samp $ span $ text "foo" ---- -- Result: -- --
-- <samp><span>foo</span></samp> --samp :: Html -> Html -- | Combinator for the <script> element. -- -- Example: -- --
-- script $ span $ text "foo" ---- -- Result: -- --
-- <script><span>foo</span></script> --script :: Html -> Html -- | Combinator for the <select> element. -- -- Example: -- --
-- select $ span $ text "foo" ---- -- Result: -- --
-- <select><span>foo</span></select> --select :: Html -> Html -- | Combinator for the <small> element. -- -- Example: -- --
-- small $ span $ text "foo" ---- -- Result: -- --
-- <small><span>foo</span></small> --small :: Html -> Html -- | Combinator for the <span> element. -- -- Example: -- --
-- span $ span $ text "foo" ---- -- Result: -- --
-- <span><span>foo</span></span> --span :: Html -> Html -- | Combinator for the <strong> element. -- -- Example: -- --
-- strong $ span $ text "foo" ---- -- Result: -- --
-- <strong><span>foo</span></strong> --strong :: Html -> Html -- | Combinator for the <style> element. -- -- Example: -- --
-- style $ span $ text "foo" ---- -- Result: -- --
-- <style><span>foo</span></style> --style :: Html -> Html -- | Combinator for the <sub> element. -- -- Example: -- --
-- sub $ span $ text "foo" ---- -- Result: -- --
-- <sub><span>foo</span></sub> --sub :: Html -> Html -- | Combinator for the <sup> element. -- -- Example: -- --
-- sup $ span $ text "foo" ---- -- Result: -- --
-- <sup><span>foo</span></sup> --sup :: Html -> Html -- | Combinator for the <table> element. -- -- Example: -- --
-- table $ span $ text "foo" ---- -- Result: -- --
-- <table><span>foo</span></table> --table :: Html -> Html -- | Combinator for the <tbody> element. -- -- Example: -- --
-- tbody $ span $ text "foo" ---- -- Result: -- --
-- <tbody><span>foo</span></tbody> --tbody :: Html -> Html -- | Combinator for the <td> element. -- -- Example: -- --
-- td $ span $ text "foo" ---- -- Result: -- --
-- <td><span>foo</span></td> --td :: Html -> Html -- | Combinator for the <textarea> element. -- -- Example: -- --
-- textarea $ span $ text "foo" ---- -- Result: -- --
-- <textarea><span>foo</span></textarea> --textarea :: Html -> Html -- | Combinator for the <tfoot> element. -- -- Example: -- --
-- tfoot $ span $ text "foo" ---- -- Result: -- --
-- <tfoot><span>foo</span></tfoot> --tfoot :: Html -> Html -- | Combinator for the <th> element. -- -- Example: -- --
-- th $ span $ text "foo" ---- -- Result: -- --
-- <th><span>foo</span></th> --th :: Html -> Html -- | Combinator for the <thead> element. -- -- Example: -- --
-- thead $ span $ text "foo" ---- -- Result: -- --
-- <thead><span>foo</span></thead> --thead :: Html -> Html -- | Combinator for the <title> element. -- -- Example: -- --
-- title $ span $ text "foo" ---- -- Result: -- --
-- <title><span>foo</span></title> --title :: Html -> Html -- | Combinator for the <tr> element. -- -- Example: -- --
-- tr $ span $ text "foo" ---- -- Result: -- --
-- <tr><span>foo</span></tr> --tr :: Html -> Html -- | Combinator for the <tt> element. -- -- Example: -- --
-- tt $ span $ text "foo" ---- -- Result: -- --
-- <tt><span>foo</span></tt> --tt :: Html -> Html -- | Combinator for the <u> element. -- -- Example: -- --
-- u $ span $ text "foo" ---- -- Result: -- --
-- <u><span>foo</span></u> --u :: Html -> Html -- | Combinator for the <ul> element. -- -- Example: -- --
-- ul $ span $ text "foo" ---- -- Result: -- --
-- <ul><span>foo</span></ul> --ul :: Html -> Html -- | Combinator for the <var> element. -- -- Example: -- --
-- var $ span $ text "foo" ---- -- Result: -- --
-- <var><span>foo</span></var> --var :: Html -> Html -- | This module exports HTML combinators used to create documents. module Text.Blaze.Html4.Strict -- | 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 -- | Combinator for the <html> element. This combinator will -- also insert the correct doctype. -- -- Example: -- --
-- docTypeHtml $ 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> --docTypeHtml :: Html -> Html -- | Combinator for the <a> element. -- -- Example: -- --
-- a $ span $ text "foo" ---- -- Result: -- --
-- <a><span>foo</span></a> --a :: Html -> Html -- | Combinator for the <abbr> element. -- -- Example: -- --
-- abbr $ span $ text "foo" ---- -- Result: -- --
-- <abbr><span>foo</span></abbr> --abbr :: Html -> Html -- | Combinator for the <acronym> element. -- -- Example: -- --
-- acronym $ span $ text "foo" ---- -- Result: -- --
-- <acronym><span>foo</span></acronym> --acronym :: Html -> Html -- | Combinator for the <address> element. -- -- Example: -- --
-- address $ span $ text "foo" ---- -- Result: -- --
-- <address><span>foo</span></address> --address :: Html -> Html -- | Combinator for the <area /> element. -- -- Example: -- --
-- area ---- -- Result: -- --
-- <area /> --area :: Html -- | Combinator for the <b> element. -- -- Example: -- --
-- b $ span $ text "foo" ---- -- Result: -- --
-- <b><span>foo</span></b> --b :: Html -> Html -- | Combinator for the <bdo> element. -- -- Example: -- --
-- bdo $ span $ text "foo" ---- -- Result: -- --
-- <bdo><span>foo</span></bdo> --bdo :: Html -> Html -- | Combinator for the <big> element. -- -- Example: -- --
-- big $ span $ text "foo" ---- -- Result: -- --
-- <big><span>foo</span></big> --big :: Html -> Html -- | Combinator for the <blockquote> element. -- -- Example: -- --
-- blockquote $ span $ text "foo" ---- -- Result: -- --
-- <blockquote><span>foo</span></blockquote> --blockquote :: Html -> Html -- | Combinator for the <body> element. -- -- Example: -- --
-- body $ span $ text "foo" ---- -- Result: -- --
-- <body><span>foo</span></body> --body :: Html -> Html -- | Combinator for the <br /> element. -- -- Example: -- --
-- br ---- -- Result: -- --
-- <br /> --br :: Html -- | Combinator for the <button> element. -- -- Example: -- --
-- button $ span $ text "foo" ---- -- Result: -- --
-- <button><span>foo</span></button> --button :: Html -> Html -- | Combinator for the <caption> element. -- -- Example: -- --
-- caption $ span $ text "foo" ---- -- Result: -- --
-- <caption><span>foo</span></caption> --caption :: Html -> Html -- | Combinator for the <cite> element. -- -- Example: -- --
-- cite $ span $ text "foo" ---- -- Result: -- --
-- <cite><span>foo</span></cite> --cite :: Html -> Html -- | Combinator for the <code> element. -- -- Example: -- --
-- code $ span $ text "foo" ---- -- Result: -- --
-- <code><span>foo</span></code> --code :: Html -> Html -- | Combinator for the <col /> element. -- -- Example: -- --
-- col ---- -- Result: -- --
-- <col /> --col :: Html -- | Combinator for the <colgroup> element. -- -- Example: -- --
-- colgroup $ span $ text "foo" ---- -- Result: -- --
-- <colgroup><span>foo</span></colgroup> --colgroup :: Html -> Html -- | Combinator for the <dd> element. -- -- Example: -- --
-- dd $ span $ text "foo" ---- -- Result: -- --
-- <dd><span>foo</span></dd> --dd :: Html -> Html -- | Combinator for the <del> element. -- -- Example: -- --
-- del $ span $ text "foo" ---- -- Result: -- --
-- <del><span>foo</span></del> --del :: Html -> Html -- | Combinator for the <dfn> element. -- -- Example: -- --
-- dfn $ span $ text "foo" ---- -- Result: -- --
-- <dfn><span>foo</span></dfn> --dfn :: Html -> Html -- | Combinator for the <div> element. -- -- Example: -- --
-- div $ span $ text "foo" ---- -- Result: -- --
-- <div><span>foo</span></div> --div :: Html -> Html -- | Combinator for the <dl> element. -- -- Example: -- --
-- dl $ span $ text "foo" ---- -- Result: -- --
-- <dl><span>foo</span></dl> --dl :: Html -> Html -- | Combinator for the <dt> element. -- -- Example: -- --
-- dt $ span $ text "foo" ---- -- Result: -- --
-- <dt><span>foo</span></dt> --dt :: Html -> Html -- | Combinator for the <em> element. -- -- Example: -- --
-- em $ span $ text "foo" ---- -- Result: -- --
-- <em><span>foo</span></em> --em :: Html -> Html -- | Combinator for the <fieldset> element. -- -- Example: -- --
-- fieldset $ span $ text "foo" ---- -- Result: -- --
-- <fieldset><span>foo</span></fieldset> --fieldset :: Html -> Html -- | Combinator for the <form> element. -- -- Example: -- --
-- form $ span $ text "foo" ---- -- Result: -- --
-- <form><span>foo</span></form> --form :: Html -> Html -- | Combinator for the <h1> element. -- -- Example: -- --
-- h1 $ span $ text "foo" ---- -- Result: -- --
-- <h1><span>foo</span></h1> --h1 :: Html -> Html -- | Combinator for the <h2> element. -- -- Example: -- --
-- h2 $ span $ text "foo" ---- -- Result: -- --
-- <h2><span>foo</span></h2> --h2 :: Html -> Html -- | Combinator for the <h3> element. -- -- Example: -- --
-- h3 $ span $ text "foo" ---- -- Result: -- --
-- <h3><span>foo</span></h3> --h3 :: Html -> Html -- | Combinator for the <h4> element. -- -- Example: -- --
-- h4 $ span $ text "foo" ---- -- Result: -- --
-- <h4><span>foo</span></h4> --h4 :: Html -> Html -- | Combinator for the <h5> element. -- -- Example: -- --
-- h5 $ span $ text "foo" ---- -- Result: -- --
-- <h5><span>foo</span></h5> --h5 :: Html -> Html -- | Combinator for the <h6> element. -- -- Example: -- --
-- h6 $ span $ text "foo" ---- -- Result: -- --
-- <h6><span>foo</span></h6> --h6 :: Html -> Html -- | Combinator for the <head> element. -- -- Example: -- --
-- head $ span $ text "foo" ---- -- Result: -- --
-- <head><span>foo</span></head> --head :: Html -> Html -- | Combinator for the <hr /> element. -- -- Example: -- --
-- hr ---- -- Result: -- --
-- <hr /> --hr :: Html -- | Combinator for the <html> element. -- -- Example: -- --
-- html $ span $ text "foo" ---- -- Result: -- --
-- <html><span>foo</span></html> --html :: Html -> Html -- | Combinator for the <i> element. -- -- Example: -- --
-- i $ span $ text "foo" ---- -- Result: -- --
-- <i><span>foo</span></i> --i :: Html -> Html -- | Combinator for the <img /> element. -- -- Example: -- --
-- img ---- -- Result: -- --
-- <img /> --img :: Html -- | Combinator for the <input /> element. -- -- Example: -- --
-- input ---- -- Result: -- --
-- <input /> --input :: Html -- | Combinator for the <ins> element. -- -- Example: -- --
-- ins $ span $ text "foo" ---- -- Result: -- --
-- <ins><span>foo</span></ins> --ins :: Html -> Html -- | Combinator for the <kbd> element. -- -- Example: -- --
-- kbd $ span $ text "foo" ---- -- Result: -- --
-- <kbd><span>foo</span></kbd> --kbd :: Html -> Html -- | Combinator for the <label> element. -- -- Example: -- --
-- label $ span $ text "foo" ---- -- Result: -- --
-- <label><span>foo</span></label> --label :: Html -> Html -- | Combinator for the <legend> element. -- -- Example: -- --
-- legend $ span $ text "foo" ---- -- Result: -- --
-- <legend><span>foo</span></legend> --legend :: Html -> Html -- | Combinator for the <li> element. -- -- Example: -- --
-- li $ span $ text "foo" ---- -- Result: -- --
-- <li><span>foo</span></li> --li :: Html -> Html -- | Combinator for the <link /> element. -- -- Example: -- --
-- link ---- -- Result: -- --
-- <link /> --link :: Html -- | Combinator for the <map> element. -- -- Example: -- --
-- map $ span $ text "foo" ---- -- Result: -- --
-- <map><span>foo</span></map> --map :: Html -> Html -- | Combinator for the <meta /> element. -- -- Example: -- --
-- meta ---- -- Result: -- --
-- <meta /> --meta :: Html -- | Combinator for the <noscript> element. -- -- Example: -- --
-- noscript $ span $ text "foo" ---- -- Result: -- --
-- <noscript><span>foo</span></noscript> --noscript :: Html -> Html -- | Combinator for the <object> element. -- -- Example: -- --
-- object $ span $ text "foo" ---- -- Result: -- --
-- <object><span>foo</span></object> --object :: Html -> Html -- | Combinator for the <ol> element. -- -- Example: -- --
-- ol $ span $ text "foo" ---- -- Result: -- --
-- <ol><span>foo</span></ol> --ol :: Html -> Html -- | Combinator for the <optgroup> element. -- -- Example: -- --
-- optgroup $ span $ text "foo" ---- -- Result: -- --
-- <optgroup><span>foo</span></optgroup> --optgroup :: Html -> Html -- | Combinator for the <option> element. -- -- Example: -- --
-- option $ span $ text "foo" ---- -- Result: -- --
-- <option><span>foo</span></option> --option :: Html -> Html -- | Combinator for the <p> element. -- -- Example: -- --
-- p $ span $ text "foo" ---- -- Result: -- --
-- <p><span>foo</span></p> --p :: Html -> Html -- | Combinator for the <param /> element. -- -- Example: -- --
-- param ---- -- Result: -- --
-- <param /> --param :: Html -- | Combinator for the <pre> element. -- -- Example: -- --
-- pre $ span $ text "foo" ---- -- Result: -- --
-- <pre><span>foo</span></pre> --pre :: Html -> Html -- | Combinator for the <q> element. -- -- Example: -- --
-- q $ span $ text "foo" ---- -- Result: -- --
-- <q><span>foo</span></q> --q :: Html -> Html -- | Combinator for the <samp> element. -- -- Example: -- --
-- samp $ span $ text "foo" ---- -- Result: -- --
-- <samp><span>foo</span></samp> --samp :: Html -> Html -- | Combinator for the <script> element. -- -- Example: -- --
-- script $ span $ text "foo" ---- -- Result: -- --
-- <script><span>foo</span></script> --script :: Html -> Html -- | Combinator for the <select> element. -- -- Example: -- --
-- select $ span $ text "foo" ---- -- Result: -- --
-- <select><span>foo</span></select> --select :: Html -> Html -- | Combinator for the <small> element. -- -- Example: -- --
-- small $ span $ text "foo" ---- -- Result: -- --
-- <small><span>foo</span></small> --small :: Html -> Html -- | Combinator for the <span> element. -- -- Example: -- --
-- span $ span $ text "foo" ---- -- Result: -- --
-- <span><span>foo</span></span> --span :: Html -> Html -- | Combinator for the <strong> element. -- -- Example: -- --
-- strong $ span $ text "foo" ---- -- Result: -- --
-- <strong><span>foo</span></strong> --strong :: Html -> Html -- | Combinator for the <style> element. -- -- Example: -- --
-- style $ span $ text "foo" ---- -- Result: -- --
-- <style><span>foo</span></style> --style :: Html -> Html -- | Combinator for the <sub> element. -- -- Example: -- --
-- sub $ span $ text "foo" ---- -- Result: -- --
-- <sub><span>foo</span></sub> --sub :: Html -> Html -- | Combinator for the <sup> element. -- -- Example: -- --
-- sup $ span $ text "foo" ---- -- Result: -- --
-- <sup><span>foo</span></sup> --sup :: Html -> Html -- | Combinator for the <table> element. -- -- Example: -- --
-- table $ span $ text "foo" ---- -- Result: -- --
-- <table><span>foo</span></table> --table :: Html -> Html -- | Combinator for the <tbody> element. -- -- Example: -- --
-- tbody $ span $ text "foo" ---- -- Result: -- --
-- <tbody><span>foo</span></tbody> --tbody :: Html -> Html -- | Combinator for the <td> element. -- -- Example: -- --
-- td $ span $ text "foo" ---- -- Result: -- --
-- <td><span>foo</span></td> --td :: Html -> Html -- | Combinator for the <textarea> element. -- -- Example: -- --
-- textarea $ span $ text "foo" ---- -- Result: -- --
-- <textarea><span>foo</span></textarea> --textarea :: Html -> Html -- | Combinator for the <tfoot> element. -- -- Example: -- --
-- tfoot $ span $ text "foo" ---- -- Result: -- --
-- <tfoot><span>foo</span></tfoot> --tfoot :: Html -> Html -- | Combinator for the <th> element. -- -- Example: -- --
-- th $ span $ text "foo" ---- -- Result: -- --
-- <th><span>foo</span></th> --th :: Html -> Html -- | Combinator for the <thead> element. -- -- Example: -- --
-- thead $ span $ text "foo" ---- -- Result: -- --
-- <thead><span>foo</span></thead> --thead :: Html -> Html -- | Combinator for the <title> element. -- -- Example: -- --
-- title $ span $ text "foo" ---- -- Result: -- --
-- <title><span>foo</span></title> --title :: Html -> Html -- | Combinator for the <tr> element. -- -- Example: -- --
-- tr $ span $ text "foo" ---- -- Result: -- --
-- <tr><span>foo</span></tr> --tr :: Html -> Html -- | Combinator for the <tt> element. -- -- Example: -- --
-- tt $ span $ text "foo" ---- -- Result: -- --
-- <tt><span>foo</span></tt> --tt :: Html -> Html -- | Combinator for the <ul> element. -- -- Example: -- --
-- ul $ span $ text "foo" ---- -- Result: -- --
-- <ul><span>foo</span></ul> --ul :: Html -> Html -- | Combinator for the <var> element. -- -- Example: -- --
-- var $ span $ text "foo" ---- -- Result: -- --
-- <var><span>foo</span></var> --var :: Html -> Html -- | This module exports HTML combinators used to create documents. module Text.Blaze.Html4.Transitional -- | 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 Transitional//EN" -- "http://www.w3.org/TR/html4/loose.dtd"> --docType :: Html -- | Combinator for the <html> element. This combinator will -- also insert the correct doctype. -- -- Example: -- --
-- docTypeHtml $ span $ text "foo" ---- -- Result: -- --
-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" -- "http://www.w3.org/TR/html4/loose.dtd"> -- <html><span>foo</span></html> --docTypeHtml :: Html -> Html -- | Combinator for the <a> element. -- -- Example: -- --
-- a $ span $ text "foo" ---- -- Result: -- --
-- <a><span>foo</span></a> --a :: Html -> Html -- | Combinator for the <abbr> element. -- -- Example: -- --
-- abbr $ span $ text "foo" ---- -- Result: -- --
-- <abbr><span>foo</span></abbr> --abbr :: Html -> Html -- | Combinator for the <acronym> element. -- -- Example: -- --
-- acronym $ span $ text "foo" ---- -- Result: -- --
-- <acronym><span>foo</span></acronym> --acronym :: Html -> Html -- | Combinator for the <address> element. -- -- Example: -- --
-- address $ span $ text "foo" ---- -- Result: -- --
-- <address><span>foo</span></address> --address :: Html -> Html -- | Combinator for the <applet> element. -- -- Example: -- --
-- applet $ span $ text "foo" ---- -- Result: -- --
-- <applet><span>foo</span></applet> --applet :: Html -> Html -- | Combinator for the <area /> element. -- -- Example: -- --
-- area ---- -- Result: -- --
-- <area /> --area :: Html -- | Combinator for the <b> element. -- -- Example: -- --
-- b $ span $ text "foo" ---- -- Result: -- --
-- <b><span>foo</span></b> --b :: Html -> Html -- | Combinator for the <basefont /> element. -- -- Example: -- --
-- basefont ---- -- Result: -- --
-- <basefont /> --basefont :: Html -- | Combinator for the <bdo> element. -- -- Example: -- --
-- bdo $ span $ text "foo" ---- -- Result: -- --
-- <bdo><span>foo</span></bdo> --bdo :: Html -> Html -- | Combinator for the <big> element. -- -- Example: -- --
-- big $ span $ text "foo" ---- -- Result: -- --
-- <big><span>foo</span></big> --big :: Html -> Html -- | Combinator for the <blockquote> element. -- -- Example: -- --
-- blockquote $ span $ text "foo" ---- -- Result: -- --
-- <blockquote><span>foo</span></blockquote> --blockquote :: Html -> Html -- | Combinator for the <body> element. -- -- Example: -- --
-- body $ span $ text "foo" ---- -- Result: -- --
-- <body><span>foo</span></body> --body :: Html -> Html -- | Combinator for the <br /> element. -- -- Example: -- --
-- br ---- -- Result: -- --
-- <br /> --br :: Html -- | Combinator for the <button> element. -- -- Example: -- --
-- button $ span $ text "foo" ---- -- Result: -- --
-- <button><span>foo</span></button> --button :: Html -> Html -- | Combinator for the <caption> element. -- -- Example: -- --
-- caption $ span $ text "foo" ---- -- Result: -- --
-- <caption><span>foo</span></caption> --caption :: Html -> Html -- | Combinator for the <center> element. -- -- Example: -- --
-- center $ span $ text "foo" ---- -- Result: -- --
-- <center><span>foo</span></center> --center :: Html -> Html -- | Combinator for the <cite> element. -- -- Example: -- --
-- cite $ span $ text "foo" ---- -- Result: -- --
-- <cite><span>foo</span></cite> --cite :: Html -> Html -- | Combinator for the <code> element. -- -- Example: -- --
-- code $ span $ text "foo" ---- -- Result: -- --
-- <code><span>foo</span></code> --code :: Html -> Html -- | Combinator for the <col /> element. -- -- Example: -- --
-- col ---- -- Result: -- --
-- <col /> --col :: Html -- | Combinator for the <colgroup> element. -- -- Example: -- --
-- colgroup $ span $ text "foo" ---- -- Result: -- --
-- <colgroup><span>foo</span></colgroup> --colgroup :: Html -> Html -- | Combinator for the <dd> element. -- -- Example: -- --
-- dd $ span $ text "foo" ---- -- Result: -- --
-- <dd><span>foo</span></dd> --dd :: Html -> Html -- | Combinator for the <del> element. -- -- Example: -- --
-- del $ span $ text "foo" ---- -- Result: -- --
-- <del><span>foo</span></del> --del :: Html -> Html -- | Combinator for the <dfn> element. -- -- Example: -- --
-- dfn $ span $ text "foo" ---- -- Result: -- --
-- <dfn><span>foo</span></dfn> --dfn :: Html -> Html -- | Combinator for the <dir> element. -- -- Example: -- --
-- dir $ span $ text "foo" ---- -- Result: -- --
-- <dir><span>foo</span></dir> --dir :: Html -> Html -- | Combinator for the <div> element. -- -- Example: -- --
-- div $ span $ text "foo" ---- -- Result: -- --
-- <div><span>foo</span></div> --div :: Html -> Html -- | Combinator for the <dl> element. -- -- Example: -- --
-- dl $ span $ text "foo" ---- -- Result: -- --
-- <dl><span>foo</span></dl> --dl :: Html -> Html -- | Combinator for the <dt> element. -- -- Example: -- --
-- dt $ span $ text "foo" ---- -- Result: -- --
-- <dt><span>foo</span></dt> --dt :: Html -> Html -- | Combinator for the <em> element. -- -- Example: -- --
-- em $ span $ text "foo" ---- -- Result: -- --
-- <em><span>foo</span></em> --em :: Html -> Html -- | Combinator for the <fieldset> element. -- -- Example: -- --
-- fieldset $ span $ text "foo" ---- -- Result: -- --
-- <fieldset><span>foo</span></fieldset> --fieldset :: Html -> Html -- | Combinator for the <font> element. -- -- Example: -- --
-- font $ span $ text "foo" ---- -- Result: -- --
-- <font><span>foo</span></font> --font :: Html -> Html -- | Combinator for the <form> element. -- -- Example: -- --
-- form $ span $ text "foo" ---- -- Result: -- --
-- <form><span>foo</span></form> --form :: Html -> Html -- | Combinator for the <h1> element. -- -- Example: -- --
-- h1 $ span $ text "foo" ---- -- Result: -- --
-- <h1><span>foo</span></h1> --h1 :: Html -> Html -- | Combinator for the <h2> element. -- -- Example: -- --
-- h2 $ span $ text "foo" ---- -- Result: -- --
-- <h2><span>foo</span></h2> --h2 :: Html -> Html -- | Combinator for the <h3> element. -- -- Example: -- --
-- h3 $ span $ text "foo" ---- -- Result: -- --
-- <h3><span>foo</span></h3> --h3 :: Html -> Html -- | Combinator for the <h4> element. -- -- Example: -- --
-- h4 $ span $ text "foo" ---- -- Result: -- --
-- <h4><span>foo</span></h4> --h4 :: Html -> Html -- | Combinator for the <h5> element. -- -- Example: -- --
-- h5 $ span $ text "foo" ---- -- Result: -- --
-- <h5><span>foo</span></h5> --h5 :: Html -> Html -- | Combinator for the <h6> element. -- -- Example: -- --
-- h6 $ span $ text "foo" ---- -- Result: -- --
-- <h6><span>foo</span></h6> --h6 :: Html -> Html -- | Combinator for the <head> element. -- -- Example: -- --
-- head $ span $ text "foo" ---- -- Result: -- --
-- <head><span>foo</span></head> --head :: Html -> Html -- | Combinator for the <hr /> element. -- -- Example: -- --
-- hr ---- -- Result: -- --
-- <hr /> --hr :: Html -- | Combinator for the <html> element. -- -- Example: -- --
-- html $ span $ text "foo" ---- -- Result: -- --
-- <html><span>foo</span></html> --html :: Html -> Html -- | Combinator for the <i> element. -- -- Example: -- --
-- i $ span $ text "foo" ---- -- Result: -- --
-- <i><span>foo</span></i> --i :: Html -> Html -- | Combinator for the <iframe> element. -- -- Example: -- --
-- iframe $ span $ text "foo" ---- -- Result: -- --
-- <iframe><span>foo</span></iframe> --iframe :: Html -> Html -- | Combinator for the <img /> element. -- -- Example: -- --
-- img ---- -- Result: -- --
-- <img /> --img :: Html -- | Combinator for the <input /> element. -- -- Example: -- --
-- input ---- -- Result: -- --
-- <input /> --input :: Html -- | Combinator for the <ins> element. -- -- Example: -- --
-- ins $ span $ text "foo" ---- -- Result: -- --
-- <ins><span>foo</span></ins> --ins :: Html -> Html -- | Combinator for the <isindex> element. -- -- Example: -- --
-- isindex $ span $ text "foo" ---- -- Result: -- --
-- <isindex><span>foo</span></isindex> --isindex :: Html -> Html -- | Combinator for the <kbd> element. -- -- Example: -- --
-- kbd $ span $ text "foo" ---- -- Result: -- --
-- <kbd><span>foo</span></kbd> --kbd :: Html -> Html -- | Combinator for the <label> element. -- -- Example: -- --
-- label $ span $ text "foo" ---- -- Result: -- --
-- <label><span>foo</span></label> --label :: Html -> Html -- | Combinator for the <legend> element. -- -- Example: -- --
-- legend $ span $ text "foo" ---- -- Result: -- --
-- <legend><span>foo</span></legend> --legend :: Html -> Html -- | Combinator for the <li> element. -- -- Example: -- --
-- li $ span $ text "foo" ---- -- Result: -- --
-- <li><span>foo</span></li> --li :: Html -> Html -- | Combinator for the <link /> element. -- -- Example: -- --
-- link ---- -- Result: -- --
-- <link /> --link :: Html -- | Combinator for the <map> element. -- -- Example: -- --
-- map $ span $ text "foo" ---- -- Result: -- --
-- <map><span>foo</span></map> --map :: Html -> Html -- | Combinator for the <menu> element. -- -- Example: -- --
-- menu $ span $ text "foo" ---- -- Result: -- --
-- <menu><span>foo</span></menu> --menu :: Html -> Html -- | Combinator for the <meta /> element. -- -- Example: -- --
-- meta ---- -- Result: -- --
-- <meta /> --meta :: Html -- | Combinator for the <noframes> element. -- -- Example: -- --
-- noframes $ span $ text "foo" ---- -- Result: -- --
-- <noframes><span>foo</span></noframes> --noframes :: Html -> Html -- | Combinator for the <noscript> element. -- -- Example: -- --
-- noscript $ span $ text "foo" ---- -- Result: -- --
-- <noscript><span>foo</span></noscript> --noscript :: Html -> Html -- | Combinator for the <object> element. -- -- Example: -- --
-- object $ span $ text "foo" ---- -- Result: -- --
-- <object><span>foo</span></object> --object :: Html -> Html -- | Combinator for the <ol> element. -- -- Example: -- --
-- ol $ span $ text "foo" ---- -- Result: -- --
-- <ol><span>foo</span></ol> --ol :: Html -> Html -- | Combinator for the <optgroup> element. -- -- Example: -- --
-- optgroup $ span $ text "foo" ---- -- Result: -- --
-- <optgroup><span>foo</span></optgroup> --optgroup :: Html -> Html -- | Combinator for the <option> element. -- -- Example: -- --
-- option $ span $ text "foo" ---- -- Result: -- --
-- <option><span>foo</span></option> --option :: Html -> Html -- | Combinator for the <p> element. -- -- Example: -- --
-- p $ span $ text "foo" ---- -- Result: -- --
-- <p><span>foo</span></p> --p :: Html -> Html -- | Combinator for the <param /> element. -- -- Example: -- --
-- param ---- -- Result: -- --
-- <param /> --param :: Html -- | Combinator for the <pre> element. -- -- Example: -- --
-- pre $ span $ text "foo" ---- -- Result: -- --
-- <pre><span>foo</span></pre> --pre :: Html -> Html -- | Combinator for the <q> element. -- -- Example: -- --
-- q $ span $ text "foo" ---- -- Result: -- --
-- <q><span>foo</span></q> --q :: Html -> Html -- | Combinator for the <s> element. -- -- Example: -- --
-- s $ span $ text "foo" ---- -- Result: -- --
-- <s><span>foo</span></s> --s :: Html -> Html -- | Combinator for the <samp> element. -- -- Example: -- --
-- samp $ span $ text "foo" ---- -- Result: -- --
-- <samp><span>foo</span></samp> --samp :: Html -> Html -- | Combinator for the <script> element. -- -- Example: -- --
-- script $ span $ text "foo" ---- -- Result: -- --
-- <script><span>foo</span></script> --script :: Html -> Html -- | Combinator for the <select> element. -- -- Example: -- --
-- select $ span $ text "foo" ---- -- Result: -- --
-- <select><span>foo</span></select> --select :: Html -> Html -- | Combinator for the <small> element. -- -- Example: -- --
-- small $ span $ text "foo" ---- -- Result: -- --
-- <small><span>foo</span></small> --small :: Html -> Html -- | Combinator for the <span> element. -- -- Example: -- --
-- span $ span $ text "foo" ---- -- Result: -- --
-- <span><span>foo</span></span> --span :: Html -> Html -- | Combinator for the <strong> element. -- -- Example: -- --
-- strong $ span $ text "foo" ---- -- Result: -- --
-- <strong><span>foo</span></strong> --strong :: Html -> Html -- | Combinator for the <style> element. -- -- Example: -- --
-- style $ span $ text "foo" ---- -- Result: -- --
-- <style><span>foo</span></style> --style :: Html -> Html -- | Combinator for the <sub> element. -- -- Example: -- --
-- sub $ span $ text "foo" ---- -- Result: -- --
-- <sub><span>foo</span></sub> --sub :: Html -> Html -- | Combinator for the <sup> element. -- -- Example: -- --
-- sup $ span $ text "foo" ---- -- Result: -- --
-- <sup><span>foo</span></sup> --sup :: Html -> Html -- | Combinator for the <table> element. -- -- Example: -- --
-- table $ span $ text "foo" ---- -- Result: -- --
-- <table><span>foo</span></table> --table :: Html -> Html -- | Combinator for the <tbody> element. -- -- Example: -- --
-- tbody $ span $ text "foo" ---- -- Result: -- --
-- <tbody><span>foo</span></tbody> --tbody :: Html -> Html -- | Combinator for the <td> element. -- -- Example: -- --
-- td $ span $ text "foo" ---- -- Result: -- --
-- <td><span>foo</span></td> --td :: Html -> Html -- | Combinator for the <textarea> element. -- -- Example: -- --
-- textarea $ span $ text "foo" ---- -- Result: -- --
-- <textarea><span>foo</span></textarea> --textarea :: Html -> Html -- | Combinator for the <tfoot> element. -- -- Example: -- --
-- tfoot $ span $ text "foo" ---- -- Result: -- --
-- <tfoot><span>foo</span></tfoot> --tfoot :: Html -> Html -- | Combinator for the <th> element. -- -- Example: -- --
-- th $ span $ text "foo" ---- -- Result: -- --
-- <th><span>foo</span></th> --th :: Html -> Html -- | Combinator for the <thead> element. -- -- Example: -- --
-- thead $ span $ text "foo" ---- -- Result: -- --
-- <thead><span>foo</span></thead> --thead :: Html -> Html -- | Combinator for the <title> element. -- -- Example: -- --
-- title $ span $ text "foo" ---- -- Result: -- --
-- <title><span>foo</span></title> --title :: Html -> Html -- | Combinator for the <tr> element. -- -- Example: -- --
-- tr $ span $ text "foo" ---- -- Result: -- --
-- <tr><span>foo</span></tr> --tr :: Html -> Html -- | Combinator for the <tt> element. -- -- Example: -- --
-- tt $ span $ text "foo" ---- -- Result: -- --
-- <tt><span>foo</span></tt> --tt :: Html -> Html -- | Combinator for the <u> element. -- -- Example: -- --
-- u $ span $ text "foo" ---- -- Result: -- --
-- <u><span>foo</span></u> --u :: Html -> Html -- | Combinator for the <ul> element. -- -- Example: -- --
-- ul $ span $ text "foo" ---- -- Result: -- --
-- <ul><span>foo</span></ul> --ul :: Html -> Html -- | Combinator for the <var> element. -- -- Example: -- --
-- var $ span $ text "foo" ---- -- Result: -- --
-- <var><span>foo</span></var> --var :: Html -> Html -- | This module exports HTML combinators used to create documents. module Text.Blaze.Html5 -- | Combinator for the document type. This should be placed at the top of -- every HTML page. -- -- Example: -- --
-- docType ---- -- Result: -- --
-- <!DOCTYPE HTML> --docType :: Html -- | Combinator for the <html> element. This combinator will -- also insert the correct doctype. -- -- Example: -- --
-- docTypeHtml $ span $ text "foo" ---- -- Result: -- --
-- <!DOCTYPE HTML> -- <html><span>foo</span></html> --docTypeHtml :: Html -> Html -- | Combinator for the <a> element. -- -- Example: -- --
-- a $ span $ text "foo" ---- -- Result: -- --
-- <a><span>foo</span></a> --a :: Html -> Html -- | Combinator for the <abbr> element. -- -- Example: -- --
-- abbr $ span $ text "foo" ---- -- Result: -- --
-- <abbr><span>foo</span></abbr> --abbr :: Html -> Html -- | Combinator for the <address> element. -- -- Example: -- --
-- address $ span $ text "foo" ---- -- Result: -- --
-- <address><span>foo</span></address> --address :: Html -> Html -- | Combinator for the <area /> element. -- -- Example: -- --
-- area ---- -- Result: -- --
-- <area /> --area :: Html -- | Combinator for the <article> element. -- -- Example: -- --
-- article $ span $ text "foo" ---- -- Result: -- --
-- <article><span>foo</span></article> --article :: Html -> Html -- | Combinator for the <aside> element. -- -- Example: -- --
-- aside $ span $ text "foo" ---- -- Result: -- --
-- <aside><span>foo</span></aside> --aside :: Html -> Html -- | Combinator for the <audio> element. -- -- Example: -- --
-- audio $ span $ text "foo" ---- -- Result: -- --
-- <audio><span>foo</span></audio> --audio :: Html -> Html -- | Combinator for the <b> element. -- -- Example: -- --
-- b $ span $ text "foo" ---- -- Result: -- --
-- <b><span>foo</span></b> --b :: Html -> Html -- | Combinator for the <base> element. -- -- Example: -- --
-- base $ span $ text "foo" ---- -- Result: -- --
-- <base><span>foo</span></base> --base :: Html -> Html -- | Combinator for the <bdo> element. -- -- Example: -- --
-- bdo $ span $ text "foo" ---- -- Result: -- --
-- <bdo><span>foo</span></bdo> --bdo :: Html -> Html -- | Combinator for the <blockquote> element. -- -- Example: -- --
-- blockquote $ span $ text "foo" ---- -- Result: -- --
-- <blockquote><span>foo</span></blockquote> --blockquote :: Html -> Html -- | Combinator for the <body> element. -- -- Example: -- --
-- body $ span $ text "foo" ---- -- Result: -- --
-- <body><span>foo</span></body> --body :: Html -> Html -- | Combinator for the <br /> element. -- -- Example: -- --
-- br ---- -- Result: -- --
-- <br /> --br :: Html -- | Combinator for the <button> element. -- -- Example: -- --
-- button $ span $ text "foo" ---- -- Result: -- --
-- <button><span>foo</span></button> --button :: Html -> Html -- | Combinator for the <canvas> element. -- -- Example: -- --
-- canvas $ span $ text "foo" ---- -- Result: -- --
-- <canvas><span>foo</span></canvas> --canvas :: Html -> Html -- | Combinator for the <caption> element. -- -- Example: -- --
-- caption $ span $ text "foo" ---- -- Result: -- --
-- <caption><span>foo</span></caption> --caption :: Html -> Html -- | Combinator for the <cite> element. -- -- Example: -- --
-- cite $ span $ text "foo" ---- -- Result: -- --
-- <cite><span>foo</span></cite> --cite :: Html -> Html -- | Combinator for the <code> element. -- -- Example: -- --
-- code $ span $ text "foo" ---- -- Result: -- --
-- <code><span>foo</span></code> --code :: Html -> Html -- | Combinator for the <col /> element. -- -- Example: -- --
-- col ---- -- Result: -- --
-- <col /> --col :: Html -- | Combinator for the <colgroup> element. -- -- Example: -- --
-- colgroup $ span $ text "foo" ---- -- Result: -- --
-- <colgroup><span>foo</span></colgroup> --colgroup :: Html -> Html -- | Combinator for the <command> element. -- -- Example: -- --
-- command $ span $ text "foo" ---- -- Result: -- --
-- <command><span>foo</span></command> --command :: Html -> Html -- | Combinator for the <datalist> element. -- -- Example: -- --
-- datalist $ span $ text "foo" ---- -- Result: -- --
-- <datalist><span>foo</span></datalist> --datalist :: Html -> Html -- | Combinator for the <dd> element. -- -- Example: -- --
-- dd $ span $ text "foo" ---- -- Result: -- --
-- <dd><span>foo</span></dd> --dd :: Html -> Html -- | Combinator for the <del> element. -- -- Example: -- --
-- del $ span $ text "foo" ---- -- Result: -- --
-- <del><span>foo</span></del> --del :: Html -> Html -- | Combinator for the <details> element. -- -- Example: -- --
-- details $ span $ text "foo" ---- -- Result: -- --
-- <details><span>foo</span></details> --details :: Html -> Html -- | Combinator for the <dfn> element. -- -- Example: -- --
-- dfn $ span $ text "foo" ---- -- Result: -- --
-- <dfn><span>foo</span></dfn> --dfn :: Html -> Html -- | Combinator for the <div> element. -- -- Example: -- --
-- div $ span $ text "foo" ---- -- Result: -- --
-- <div><span>foo</span></div> --div :: Html -> Html -- | Combinator for the <dl> element. -- -- Example: -- --
-- dl $ span $ text "foo" ---- -- Result: -- --
-- <dl><span>foo</span></dl> --dl :: Html -> Html -- | Combinator for the <dt> element. -- -- Example: -- --
-- dt $ span $ text "foo" ---- -- Result: -- --
-- <dt><span>foo</span></dt> --dt :: Html -> Html -- | Combinator for the <em> element. -- -- Example: -- --
-- em $ span $ text "foo" ---- -- Result: -- --
-- <em><span>foo</span></em> --em :: Html -> Html -- | Combinator for the <embed /> element. -- -- Example: -- --
-- embed ---- -- Result: -- --
-- <embed /> --embed :: Html -- | Combinator for the <fieldset> element. -- -- Example: -- --
-- fieldset $ span $ text "foo" ---- -- Result: -- --
-- <fieldset><span>foo</span></fieldset> --fieldset :: Html -> Html -- | Combinator for the <figcaption> element. -- -- Example: -- --
-- figcaption $ span $ text "foo" ---- -- Result: -- --
-- <figcaption><span>foo</span></figcaption> --figcaption :: Html -> Html -- | Combinator for the <figure> element. -- -- Example: -- --
-- figure $ span $ text "foo" ---- -- Result: -- --
-- <figure><span>foo</span></figure> --figure :: Html -> Html -- | Combinator for the <footer> element. -- -- Example: -- --
-- footer $ span $ text "foo" ---- -- Result: -- --
-- <footer><span>foo</span></footer> --footer :: Html -> Html -- | Combinator for the <form> element. -- -- Example: -- --
-- form $ span $ text "foo" ---- -- Result: -- --
-- <form><span>foo</span></form> --form :: Html -> Html -- | Combinator for the <h1> element. -- -- Example: -- --
-- h1 $ span $ text "foo" ---- -- Result: -- --
-- <h1><span>foo</span></h1> --h1 :: Html -> Html -- | Combinator for the <h2> element. -- -- Example: -- --
-- h2 $ span $ text "foo" ---- -- Result: -- --
-- <h2><span>foo</span></h2> --h2 :: Html -> Html -- | Combinator for the <h3> element. -- -- Example: -- --
-- h3 $ span $ text "foo" ---- -- Result: -- --
-- <h3><span>foo</span></h3> --h3 :: Html -> Html -- | Combinator for the <h4> element. -- -- Example: -- --
-- h4 $ span $ text "foo" ---- -- Result: -- --
-- <h4><span>foo</span></h4> --h4 :: Html -> Html -- | Combinator for the <h5> element. -- -- Example: -- --
-- h5 $ span $ text "foo" ---- -- Result: -- --
-- <h5><span>foo</span></h5> --h5 :: Html -> Html -- | Combinator for the <h6> element. -- -- Example: -- --
-- h6 $ span $ text "foo" ---- -- Result: -- --
-- <h6><span>foo</span></h6> --h6 :: Html -> Html -- | Combinator for the <head> element. -- -- Example: -- --
-- head $ span $ text "foo" ---- -- Result: -- --
-- <head><span>foo</span></head> --head :: Html -> Html -- | Combinator for the <header> element. -- -- Example: -- --
-- header $ span $ text "foo" ---- -- Result: -- --
-- <header><span>foo</span></header> --header :: Html -> Html -- | Combinator for the <hgroup> element. -- -- Example: -- --
-- hgroup $ span $ text "foo" ---- -- Result: -- --
-- <hgroup><span>foo</span></hgroup> --hgroup :: Html -> Html -- | Combinator for the <hr /> element. -- -- Example: -- --
-- hr ---- -- Result: -- --
-- <hr /> --hr :: Html -- | Combinator for the <html> element. -- -- Example: -- --
-- html $ span $ text "foo" ---- -- Result: -- --
-- <html><span>foo</span></html> --html :: Html -> Html -- | Combinator for the <i> element. -- -- Example: -- --
-- i $ span $ text "foo" ---- -- Result: -- --
-- <i><span>foo</span></i> --i :: Html -> Html -- | Combinator for the <iframe> element. -- -- Example: -- --
-- iframe $ span $ text "foo" ---- -- Result: -- --
-- <iframe><span>foo</span></iframe> --iframe :: Html -> Html -- | Combinator for the <img /> element. -- -- Example: -- --
-- img ---- -- Result: -- --
-- <img /> --img :: Html -- | Combinator for the <input /> element. -- -- Example: -- --
-- input ---- -- Result: -- --
-- <input /> --input :: Html -- | Combinator for the <ins> element. -- -- Example: -- --
-- ins $ span $ text "foo" ---- -- Result: -- --
-- <ins><span>foo</span></ins> --ins :: Html -> Html -- | Combinator for the <kbd> element. -- -- Example: -- --
-- kbd $ span $ text "foo" ---- -- Result: -- --
-- <kbd><span>foo</span></kbd> --kbd :: Html -> Html -- | Combinator for the <keygen> element. -- -- Example: -- --
-- keygen $ span $ text "foo" ---- -- Result: -- --
-- <keygen><span>foo</span></keygen> --keygen :: Html -> Html -- | Combinator for the <label> element. -- -- Example: -- --
-- label $ span $ text "foo" ---- -- Result: -- --
-- <label><span>foo</span></label> --label :: Html -> Html -- | Combinator for the <legend> element. -- -- Example: -- --
-- legend $ span $ text "foo" ---- -- Result: -- --
-- <legend><span>foo</span></legend> --legend :: Html -> Html -- | Combinator for the <li> element. -- -- Example: -- --
-- li $ span $ text "foo" ---- -- Result: -- --
-- <li><span>foo</span></li> --li :: Html -> Html -- | Combinator for the <link /> element. -- -- Example: -- --
-- link ---- -- Result: -- --
-- <link /> --link :: Html -- | Combinator for the <map> element. -- -- Example: -- --
-- map $ span $ text "foo" ---- -- Result: -- --
-- <map><span>foo</span></map> --map :: Html -> Html -- | Combinator for the <mark> element. -- -- Example: -- --
-- mark $ span $ text "foo" ---- -- Result: -- --
-- <mark><span>foo</span></mark> --mark :: Html -> Html -- | Combinator for the <menu> element. -- -- Example: -- --
-- menu $ span $ text "foo" ---- -- Result: -- --
-- <menu><span>foo</span></menu> --menu :: Html -> Html -- | Combinator for the <meta /> element. -- -- Example: -- --
-- meta ---- -- Result: -- --
-- <meta /> --meta :: Html -- | Combinator for the <meter> element. -- -- Example: -- --
-- meter $ span $ text "foo" ---- -- Result: -- --
-- <meter><span>foo</span></meter> --meter :: Html -> Html -- | Combinator for the <nav> element. -- -- Example: -- --
-- nav $ span $ text "foo" ---- -- Result: -- --
-- <nav><span>foo</span></nav> --nav :: Html -> Html -- | Combinator for the <noscript> element. -- -- Example: -- --
-- noscript $ span $ text "foo" ---- -- Result: -- --
-- <noscript><span>foo</span></noscript> --noscript :: Html -> Html -- | Combinator for the <object> element. -- -- Example: -- --
-- object $ span $ text "foo" ---- -- Result: -- --
-- <object><span>foo</span></object> --object :: Html -> Html -- | Combinator for the <ol> element. -- -- Example: -- --
-- ol $ span $ text "foo" ---- -- Result: -- --
-- <ol><span>foo</span></ol> --ol :: Html -> Html -- | Combinator for the <optgroup> element. -- -- Example: -- --
-- optgroup $ span $ text "foo" ---- -- Result: -- --
-- <optgroup><span>foo</span></optgroup> --optgroup :: Html -> Html -- | Combinator for the <option> element. -- -- Example: -- --
-- option $ span $ text "foo" ---- -- Result: -- --
-- <option><span>foo</span></option> --option :: Html -> Html -- | Combinator for the <output> element. -- -- Example: -- --
-- output $ span $ text "foo" ---- -- Result: -- --
-- <output><span>foo</span></output> --output :: Html -> Html -- | Combinator for the <p> element. -- -- Example: -- --
-- p $ span $ text "foo" ---- -- Result: -- --
-- <p><span>foo</span></p> --p :: Html -> Html -- | Combinator for the <param /> element. -- -- Example: -- --
-- param ---- -- Result: -- --
-- <param /> --param :: Html -- | Combinator for the <pre> element. -- -- Example: -- --
-- pre $ span $ text "foo" ---- -- Result: -- --
-- <pre><span>foo</span></pre> --pre :: Html -> Html -- | Combinator for the <progress> element. -- -- Example: -- --
-- progress $ span $ text "foo" ---- -- Result: -- --
-- <progress><span>foo</span></progress> --progress :: Html -> Html -- | Combinator for the <q> element. -- -- Example: -- --
-- q $ span $ text "foo" ---- -- Result: -- --
-- <q><span>foo</span></q> --q :: Html -> Html -- | Combinator for the <rp> element. -- -- Example: -- --
-- rp $ span $ text "foo" ---- -- Result: -- --
-- <rp><span>foo</span></rp> --rp :: Html -> Html -- | Combinator for the <rt> element. -- -- Example: -- --
-- rt $ span $ text "foo" ---- -- Result: -- --
-- <rt><span>foo</span></rt> --rt :: Html -> Html -- | Combinator for the <ruby> element. -- -- Example: -- --
-- ruby $ span $ text "foo" ---- -- Result: -- --
-- <ruby><span>foo</span></ruby> --ruby :: Html -> Html -- | Combinator for the <samp> element. -- -- Example: -- --
-- samp $ span $ text "foo" ---- -- Result: -- --
-- <samp><span>foo</span></samp> --samp :: Html -> Html -- | Combinator for the <script> element. -- -- Example: -- --
-- script $ span $ text "foo" ---- -- Result: -- --
-- <script><span>foo</span></script> --script :: Html -> Html -- | Combinator for the <section> element. -- -- Example: -- --
-- section $ span $ text "foo" ---- -- Result: -- --
-- <section><span>foo</span></section> --section :: Html -> Html -- | Combinator for the <select> element. -- -- Example: -- --
-- select $ span $ text "foo" ---- -- Result: -- --
-- <select><span>foo</span></select> --select :: Html -> Html -- | Combinator for the <small> element. -- -- Example: -- --
-- small $ span $ text "foo" ---- -- Result: -- --
-- <small><span>foo</span></small> --small :: Html -> Html -- | Combinator for the <source> element. -- -- Example: -- --
-- source $ span $ text "foo" ---- -- Result: -- --
-- <source><span>foo</span></source> --source :: Html -> Html -- | Combinator for the <span> element. -- -- Example: -- --
-- span $ span $ text "foo" ---- -- Result: -- --
-- <span><span>foo</span></span> --span :: Html -> Html -- | Combinator for the <strong> element. -- -- Example: -- --
-- strong $ span $ text "foo" ---- -- Result: -- --
-- <strong><span>foo</span></strong> --strong :: Html -> Html -- | Combinator for the <style> element. -- -- Example: -- --
-- style $ span $ text "foo" ---- -- Result: -- --
-- <style><span>foo</span></style> --style :: Html -> Html -- | Combinator for the <sub> element. -- -- Example: -- --
-- sub $ span $ text "foo" ---- -- Result: -- --
-- <sub><span>foo</span></sub> --sub :: Html -> Html -- | Combinator for the <summary> element. -- -- Example: -- --
-- summary $ span $ text "foo" ---- -- Result: -- --
-- <summary><span>foo</span></summary> --summary :: Html -> Html -- | Combinator for the <sup> element. -- -- Example: -- --
-- sup $ span $ text "foo" ---- -- Result: -- --
-- <sup><span>foo</span></sup> --sup :: Html -> Html -- | Combinator for the <table> element. -- -- Example: -- --
-- table $ span $ text "foo" ---- -- Result: -- --
-- <table><span>foo</span></table> --table :: Html -> Html -- | Combinator for the <tbody> element. -- -- Example: -- --
-- tbody $ span $ text "foo" ---- -- Result: -- --
-- <tbody><span>foo</span></tbody> --tbody :: Html -> Html -- | Combinator for the <td> element. -- -- Example: -- --
-- td $ span $ text "foo" ---- -- Result: -- --
-- <td><span>foo</span></td> --td :: Html -> Html -- | Combinator for the <textarea> element. -- -- Example: -- --
-- textarea $ span $ text "foo" ---- -- Result: -- --
-- <textarea><span>foo</span></textarea> --textarea :: Html -> Html -- | Combinator for the <tfoot> element. -- -- Example: -- --
-- tfoot $ span $ text "foo" ---- -- Result: -- --
-- <tfoot><span>foo</span></tfoot> --tfoot :: Html -> Html -- | Combinator for the <th> element. -- -- Example: -- --
-- th $ span $ text "foo" ---- -- Result: -- --
-- <th><span>foo</span></th> --th :: Html -> Html -- | Combinator for the <thead> element. -- -- Example: -- --
-- thead $ span $ text "foo" ---- -- Result: -- --
-- <thead><span>foo</span></thead> --thead :: Html -> Html -- | Combinator for the <time> element. -- -- Example: -- --
-- time $ span $ text "foo" ---- -- Result: -- --
-- <time><span>foo</span></time> --time :: Html -> Html -- | Combinator for the <title> element. -- -- Example: -- --
-- title $ span $ text "foo" ---- -- Result: -- --
-- <title><span>foo</span></title> --title :: Html -> Html -- | Combinator for the <tr> element. -- -- Example: -- --
-- tr $ span $ text "foo" ---- -- Result: -- --
-- <tr><span>foo</span></tr> --tr :: Html -> Html -- | Combinator for the <ul> element. -- -- Example: -- --
-- ul $ span $ text "foo" ---- -- Result: -- --
-- <ul><span>foo</span></ul> --ul :: Html -> Html -- | Combinator for the <var> element. -- -- Example: -- --
-- var $ span $ text "foo" ---- -- Result: -- --
-- <var><span>foo</span></var> --var :: Html -> Html -- | Combinator for the <video> element. -- -- Example: -- --
-- video $ span $ text "foo" ---- -- Result: -- --
-- <video><span>foo</span></video> --video :: Html -> Html -- | This module exports HTML combinators used to create documents. module Text.Blaze.XHtml1.FrameSet -- | Combinator for the document type. This should be placed at the top of -- every HTML page. -- -- Example: -- --
-- docType ---- -- Result: -- --
-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 FrameSet//EN" -- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> --docType :: Html -- | Combinator for the <html> element. This combinator will -- also insert the correct doctype. -- -- Example: -- --
-- docTypeHtml $ span $ text "foo" ---- -- Result: -- --
-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 FrameSet//EN" -- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> -- <html><span>foo</span></html> --docTypeHtml :: Html -> Html -- | Combinator for the <a> element. -- -- Example: -- --
-- a $ span $ text "foo" ---- -- Result: -- --
-- <a><span>foo</span></a> --a :: Html -> Html -- | Combinator for the <abbr> element. -- -- Example: -- --
-- abbr $ span $ text "foo" ---- -- Result: -- --
-- <abbr><span>foo</span></abbr> --abbr :: Html -> Html -- | Combinator for the <acronym> element. -- -- Example: -- --
-- acronym $ span $ text "foo" ---- -- Result: -- --
-- <acronym><span>foo</span></acronym> --acronym :: Html -> Html -- | Combinator for the <address> element. -- -- Example: -- --
-- address $ span $ text "foo" ---- -- Result: -- --
-- <address><span>foo</span></address> --address :: Html -> Html -- | Combinator for the <applet> element. -- -- Example: -- --
-- applet $ span $ text "foo" ---- -- Result: -- --
-- <applet><span>foo</span></applet> --applet :: Html -> Html -- | Combinator for the <area /> element. -- -- Example: -- --
-- area ---- -- Result: -- --
-- <area /> --area :: Html -- | Combinator for the <b> element. -- -- Example: -- --
-- b $ span $ text "foo" ---- -- Result: -- --
-- <b><span>foo</span></b> --b :: Html -> Html -- | Combinator for the <basefont /> element. -- -- Example: -- --
-- basefont ---- -- Result: -- --
-- <basefont /> --basefont :: Html -- | Combinator for the <bdo> element. -- -- Example: -- --
-- bdo $ span $ text "foo" ---- -- Result: -- --
-- <bdo><span>foo</span></bdo> --bdo :: Html -> Html -- | Combinator for the <big> element. -- -- Example: -- --
-- big $ span $ text "foo" ---- -- Result: -- --
-- <big><span>foo</span></big> --big :: Html -> Html -- | Combinator for the <blockquote> element. -- -- Example: -- --
-- blockquote $ span $ text "foo" ---- -- Result: -- --
-- <blockquote><span>foo</span></blockquote> --blockquote :: Html -> Html -- | Combinator for the <body> element. -- -- Example: -- --
-- body $ span $ text "foo" ---- -- Result: -- --
-- <body><span>foo</span></body> --body :: Html -> Html -- | Combinator for the <br /> element. -- -- Example: -- --
-- br ---- -- Result: -- --
-- <br /> --br :: Html -- | Combinator for the <button> element. -- -- Example: -- --
-- button $ span $ text "foo" ---- -- Result: -- --
-- <button><span>foo</span></button> --button :: Html -> Html -- | Combinator for the <caption> element. -- -- Example: -- --
-- caption $ span $ text "foo" ---- -- Result: -- --
-- <caption><span>foo</span></caption> --caption :: Html -> Html -- | Combinator for the <center> element. -- -- Example: -- --
-- center $ span $ text "foo" ---- -- Result: -- --
-- <center><span>foo</span></center> --center :: Html -> Html -- | Combinator for the <cite> element. -- -- Example: -- --
-- cite $ span $ text "foo" ---- -- Result: -- --
-- <cite><span>foo</span></cite> --cite :: Html -> Html -- | Combinator for the <code> element. -- -- Example: -- --
-- code $ span $ text "foo" ---- -- Result: -- --
-- <code><span>foo</span></code> --code :: Html -> Html -- | Combinator for the <col /> element. -- -- Example: -- --
-- col ---- -- Result: -- --
-- <col /> --col :: Html -- | Combinator for the <colgroup> element. -- -- Example: -- --
-- colgroup $ span $ text "foo" ---- -- Result: -- --
-- <colgroup><span>foo</span></colgroup> --colgroup :: Html -> Html -- | Combinator for the <dd> element. -- -- Example: -- --
-- dd $ span $ text "foo" ---- -- Result: -- --
-- <dd><span>foo</span></dd> --dd :: Html -> Html -- | Combinator for the <del> element. -- -- Example: -- --
-- del $ span $ text "foo" ---- -- Result: -- --
-- <del><span>foo</span></del> --del :: Html -> Html -- | Combinator for the <dfn> element. -- -- Example: -- --
-- dfn $ span $ text "foo" ---- -- Result: -- --
-- <dfn><span>foo</span></dfn> --dfn :: Html -> Html -- | Combinator for the <dir> element. -- -- Example: -- --
-- dir $ span $ text "foo" ---- -- Result: -- --
-- <dir><span>foo</span></dir> --dir :: Html -> Html -- | Combinator for the <div> element. -- -- Example: -- --
-- div $ span $ text "foo" ---- -- Result: -- --
-- <div><span>foo</span></div> --div :: Html -> Html -- | Combinator for the <dl> element. -- -- Example: -- --
-- dl $ span $ text "foo" ---- -- Result: -- --
-- <dl><span>foo</span></dl> --dl :: Html -> Html -- | Combinator for the <dt> element. -- -- Example: -- --
-- dt $ span $ text "foo" ---- -- Result: -- --
-- <dt><span>foo</span></dt> --dt :: Html -> Html -- | Combinator for the <em> element. -- -- Example: -- --
-- em $ span $ text "foo" ---- -- Result: -- --
-- <em><span>foo</span></em> --em :: Html -> Html -- | Combinator for the <fieldset> element. -- -- Example: -- --
-- fieldset $ span $ text "foo" ---- -- Result: -- --
-- <fieldset><span>foo</span></fieldset> --fieldset :: Html -> Html -- | Combinator for the <font> element. -- -- Example: -- --
-- font $ span $ text "foo" ---- -- Result: -- --
-- <font><span>foo</span></font> --font :: Html -> Html -- | Combinator for the <form> element. -- -- Example: -- --
-- form $ span $ text "foo" ---- -- Result: -- --
-- <form><span>foo</span></form> --form :: Html -> Html -- | Combinator for the <frame /> element. -- -- Example: -- --
-- frame ---- -- Result: -- --
-- <frame /> --frame :: Html -- | Combinator for the <frameset> element. -- -- Example: -- --
-- frameset $ span $ text "foo" ---- -- Result: -- --
-- <frameset><span>foo</span></frameset> --frameset :: Html -> Html -- | Combinator for the <h1> element. -- -- Example: -- --
-- h1 $ span $ text "foo" ---- -- Result: -- --
-- <h1><span>foo</span></h1> --h1 :: Html -> Html -- | Combinator for the <h2> element. -- -- Example: -- --
-- h2 $ span $ text "foo" ---- -- Result: -- --
-- <h2><span>foo</span></h2> --h2 :: Html -> Html -- | Combinator for the <h3> element. -- -- Example: -- --
-- h3 $ span $ text "foo" ---- -- Result: -- --
-- <h3><span>foo</span></h3> --h3 :: Html -> Html -- | Combinator for the <h4> element. -- -- Example: -- --
-- h4 $ span $ text "foo" ---- -- Result: -- --
-- <h4><span>foo</span></h4> --h4 :: Html -> Html -- | Combinator for the <h5> element. -- -- Example: -- --
-- h5 $ span $ text "foo" ---- -- Result: -- --
-- <h5><span>foo</span></h5> --h5 :: Html -> Html -- | Combinator for the <h6> element. -- -- Example: -- --
-- h6 $ span $ text "foo" ---- -- Result: -- --
-- <h6><span>foo</span></h6> --h6 :: Html -> Html -- | Combinator for the <head> element. -- -- Example: -- --
-- head $ span $ text "foo" ---- -- Result: -- --
-- <head><span>foo</span></head> --head :: Html -> Html -- | Combinator for the <hr /> element. -- -- Example: -- --
-- hr ---- -- Result: -- --
-- <hr /> --hr :: Html -- | Combinator for the <html> element. -- -- Example: -- --
-- html $ span $ text "foo" ---- -- Result: -- --
-- <html><span>foo</span></html> --html :: Html -> Html -- | Combinator for the <i> element. -- -- Example: -- --
-- i $ span $ text "foo" ---- -- Result: -- --
-- <i><span>foo</span></i> --i :: Html -> Html -- | Combinator for the <iframe> element. -- -- Example: -- --
-- iframe $ span $ text "foo" ---- -- Result: -- --
-- <iframe><span>foo</span></iframe> --iframe :: Html -> Html -- | Combinator for the <img /> element. -- -- Example: -- --
-- img ---- -- Result: -- --
-- <img /> --img :: Html -- | Combinator for the <input /> element. -- -- Example: -- --
-- input ---- -- Result: -- --
-- <input /> --input :: Html -- | Combinator for the <ins> element. -- -- Example: -- --
-- ins $ span $ text "foo" ---- -- Result: -- --
-- <ins><span>foo</span></ins> --ins :: Html -> Html -- | Combinator for the <isindex> element. -- -- Example: -- --
-- isindex $ span $ text "foo" ---- -- Result: -- --
-- <isindex><span>foo</span></isindex> --isindex :: Html -> Html -- | Combinator for the <kbd> element. -- -- Example: -- --
-- kbd $ span $ text "foo" ---- -- Result: -- --
-- <kbd><span>foo</span></kbd> --kbd :: Html -> Html -- | Combinator for the <label> element. -- -- Example: -- --
-- label $ span $ text "foo" ---- -- Result: -- --
-- <label><span>foo</span></label> --label :: Html -> Html -- | Combinator for the <legend> element. -- -- Example: -- --
-- legend $ span $ text "foo" ---- -- Result: -- --
-- <legend><span>foo</span></legend> --legend :: Html -> Html -- | Combinator for the <li> element. -- -- Example: -- --
-- li $ span $ text "foo" ---- -- Result: -- --
-- <li><span>foo</span></li> --li :: Html -> Html -- | Combinator for the <link /> element. -- -- Example: -- --
-- link ---- -- Result: -- --
-- <link /> --link :: Html -- | Combinator for the <map> element. -- -- Example: -- --
-- map $ span $ text "foo" ---- -- Result: -- --
-- <map><span>foo</span></map> --map :: Html -> Html -- | Combinator for the <menu> element. -- -- Example: -- --
-- menu $ span $ text "foo" ---- -- Result: -- --
-- <menu><span>foo</span></menu> --menu :: Html -> Html -- | Combinator for the <meta /> element. -- -- Example: -- --
-- meta ---- -- Result: -- --
-- <meta /> --meta :: Html -- | Combinator for the <noframes> element. -- -- Example: -- --
-- noframes $ span $ text "foo" ---- -- Result: -- --
-- <noframes><span>foo</span></noframes> --noframes :: Html -> Html -- | Combinator for the <noscript> element. -- -- Example: -- --
-- noscript $ span $ text "foo" ---- -- Result: -- --
-- <noscript><span>foo</span></noscript> --noscript :: Html -> Html -- | Combinator for the <object> element. -- -- Example: -- --
-- object $ span $ text "foo" ---- -- Result: -- --
-- <object><span>foo</span></object> --object :: Html -> Html -- | Combinator for the <ol> element. -- -- Example: -- --
-- ol $ span $ text "foo" ---- -- Result: -- --
-- <ol><span>foo</span></ol> --ol :: Html -> Html -- | Combinator for the <optgroup> element. -- -- Example: -- --
-- optgroup $ span $ text "foo" ---- -- Result: -- --
-- <optgroup><span>foo</span></optgroup> --optgroup :: Html -> Html -- | Combinator for the <option> element. -- -- Example: -- --
-- option $ span $ text "foo" ---- -- Result: -- --
-- <option><span>foo</span></option> --option :: Html -> Html -- | Combinator for the <p> element. -- -- Example: -- --
-- p $ span $ text "foo" ---- -- Result: -- --
-- <p><span>foo</span></p> --p :: Html -> Html -- | Combinator for the <param /> element. -- -- Example: -- --
-- param ---- -- Result: -- --
-- <param /> --param :: Html -- | Combinator for the <pre> element. -- -- Example: -- --
-- pre $ span $ text "foo" ---- -- Result: -- --
-- <pre><span>foo</span></pre> --pre :: Html -> Html -- | Combinator for the <q> element. -- -- Example: -- --
-- q $ span $ text "foo" ---- -- Result: -- --
-- <q><span>foo</span></q> --q :: Html -> Html -- | Combinator for the <s> element. -- -- Example: -- --
-- s $ span $ text "foo" ---- -- Result: -- --
-- <s><span>foo</span></s> --s :: Html -> Html -- | Combinator for the <samp> element. -- -- Example: -- --
-- samp $ span $ text "foo" ---- -- Result: -- --
-- <samp><span>foo</span></samp> --samp :: Html -> Html -- | Combinator for the <script> element. -- -- Example: -- --
-- script $ span $ text "foo" ---- -- Result: -- --
-- <script><span>foo</span></script> --script :: Html -> Html -- | Combinator for the <select> element. -- -- Example: -- --
-- select $ span $ text "foo" ---- -- Result: -- --
-- <select><span>foo</span></select> --select :: Html -> Html -- | Combinator for the <small> element. -- -- Example: -- --
-- small $ span $ text "foo" ---- -- Result: -- --
-- <small><span>foo</span></small> --small :: Html -> Html -- | Combinator for the <span> element. -- -- Example: -- --
-- span $ span $ text "foo" ---- -- Result: -- --
-- <span><span>foo</span></span> --span :: Html -> Html -- | Combinator for the <strong> element. -- -- Example: -- --
-- strong $ span $ text "foo" ---- -- Result: -- --
-- <strong><span>foo</span></strong> --strong :: Html -> Html -- | Combinator for the <style> element. -- -- Example: -- --
-- style $ span $ text "foo" ---- -- Result: -- --
-- <style><span>foo</span></style> --style :: Html -> Html -- | Combinator for the <sub> element. -- -- Example: -- --
-- sub $ span $ text "foo" ---- -- Result: -- --
-- <sub><span>foo</span></sub> --sub :: Html -> Html -- | Combinator for the <sup> element. -- -- Example: -- --
-- sup $ span $ text "foo" ---- -- Result: -- --
-- <sup><span>foo</span></sup> --sup :: Html -> Html -- | Combinator for the <table> element. -- -- Example: -- --
-- table $ span $ text "foo" ---- -- Result: -- --
-- <table><span>foo</span></table> --table :: Html -> Html -- | Combinator for the <tbody> element. -- -- Example: -- --
-- tbody $ span $ text "foo" ---- -- Result: -- --
-- <tbody><span>foo</span></tbody> --tbody :: Html -> Html -- | Combinator for the <td> element. -- -- Example: -- --
-- td $ span $ text "foo" ---- -- Result: -- --
-- <td><span>foo</span></td> --td :: Html -> Html -- | Combinator for the <textarea> element. -- -- Example: -- --
-- textarea $ span $ text "foo" ---- -- Result: -- --
-- <textarea><span>foo</span></textarea> --textarea :: Html -> Html -- | Combinator for the <tfoot> element. -- -- Example: -- --
-- tfoot $ span $ text "foo" ---- -- Result: -- --
-- <tfoot><span>foo</span></tfoot> --tfoot :: Html -> Html -- | Combinator for the <th> element. -- -- Example: -- --
-- th $ span $ text "foo" ---- -- Result: -- --
-- <th><span>foo</span></th> --th :: Html -> Html -- | Combinator for the <thead> element. -- -- Example: -- --
-- thead $ span $ text "foo" ---- -- Result: -- --
-- <thead><span>foo</span></thead> --thead :: Html -> Html -- | Combinator for the <title> element. -- -- Example: -- --
-- title $ span $ text "foo" ---- -- Result: -- --
-- <title><span>foo</span></title> --title :: Html -> Html -- | Combinator for the <tr> element. -- -- Example: -- --
-- tr $ span $ text "foo" ---- -- Result: -- --
-- <tr><span>foo</span></tr> --tr :: Html -> Html -- | Combinator for the <tt> element. -- -- Example: -- --
-- tt $ span $ text "foo" ---- -- Result: -- --
-- <tt><span>foo</span></tt> --tt :: Html -> Html -- | Combinator for the <u> element. -- -- Example: -- --
-- u $ span $ text "foo" ---- -- Result: -- --
-- <u><span>foo</span></u> --u :: Html -> Html -- | Combinator for the <ul> element. -- -- Example: -- --
-- ul $ span $ text "foo" ---- -- Result: -- --
-- <ul><span>foo</span></ul> --ul :: Html -> Html -- | Combinator for the <var> element. -- -- Example: -- --
-- var $ span $ text "foo" ---- -- Result: -- --
-- <var><span>foo</span></var> --var :: Html -> Html -- | This module exports HTML combinators used to create documents. module Text.Blaze.XHtml1.Strict -- | Combinator for the document type. This should be placed at the top of -- every HTML page. -- -- Example: -- --
-- docType ---- -- Result: -- --
-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" -- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> --docType :: Html -- | Combinator for the <html> element. This combinator will -- also insert the correct doctype. -- -- Example: -- --
-- docTypeHtml $ span $ text "foo" ---- -- Result: -- --
-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" -- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -- <html><span>foo</span></html> --docTypeHtml :: Html -> Html -- | Combinator for the <a> element. -- -- Example: -- --
-- a $ span $ text "foo" ---- -- Result: -- --
-- <a><span>foo</span></a> --a :: Html -> Html -- | Combinator for the <abbr> element. -- -- Example: -- --
-- abbr $ span $ text "foo" ---- -- Result: -- --
-- <abbr><span>foo</span></abbr> --abbr :: Html -> Html -- | Combinator for the <acronym> element. -- -- Example: -- --
-- acronym $ span $ text "foo" ---- -- Result: -- --
-- <acronym><span>foo</span></acronym> --acronym :: Html -> Html -- | Combinator for the <address> element. -- -- Example: -- --
-- address $ span $ text "foo" ---- -- Result: -- --
-- <address><span>foo</span></address> --address :: Html -> Html -- | Combinator for the <area /> element. -- -- Example: -- --
-- area ---- -- Result: -- --
-- <area /> --area :: Html -- | Combinator for the <b> element. -- -- Example: -- --
-- b $ span $ text "foo" ---- -- Result: -- --
-- <b><span>foo</span></b> --b :: Html -> Html -- | Combinator for the <bdo> element. -- -- Example: -- --
-- bdo $ span $ text "foo" ---- -- Result: -- --
-- <bdo><span>foo</span></bdo> --bdo :: Html -> Html -- | Combinator for the <big> element. -- -- Example: -- --
-- big $ span $ text "foo" ---- -- Result: -- --
-- <big><span>foo</span></big> --big :: Html -> Html -- | Combinator for the <blockquote> element. -- -- Example: -- --
-- blockquote $ span $ text "foo" ---- -- Result: -- --
-- <blockquote><span>foo</span></blockquote> --blockquote :: Html -> Html -- | Combinator for the <body> element. -- -- Example: -- --
-- body $ span $ text "foo" ---- -- Result: -- --
-- <body><span>foo</span></body> --body :: Html -> Html -- | Combinator for the <br /> element. -- -- Example: -- --
-- br ---- -- Result: -- --
-- <br /> --br :: Html -- | Combinator for the <button> element. -- -- Example: -- --
-- button $ span $ text "foo" ---- -- Result: -- --
-- <button><span>foo</span></button> --button :: Html -> Html -- | Combinator for the <caption> element. -- -- Example: -- --
-- caption $ span $ text "foo" ---- -- Result: -- --
-- <caption><span>foo</span></caption> --caption :: Html -> Html -- | Combinator for the <cite> element. -- -- Example: -- --
-- cite $ span $ text "foo" ---- -- Result: -- --
-- <cite><span>foo</span></cite> --cite :: Html -> Html -- | Combinator for the <code> element. -- -- Example: -- --
-- code $ span $ text "foo" ---- -- Result: -- --
-- <code><span>foo</span></code> --code :: Html -> Html -- | Combinator for the <col /> element. -- -- Example: -- --
-- col ---- -- Result: -- --
-- <col /> --col :: Html -- | Combinator for the <colgroup> element. -- -- Example: -- --
-- colgroup $ span $ text "foo" ---- -- Result: -- --
-- <colgroup><span>foo</span></colgroup> --colgroup :: Html -> Html -- | Combinator for the <dd> element. -- -- Example: -- --
-- dd $ span $ text "foo" ---- -- Result: -- --
-- <dd><span>foo</span></dd> --dd :: Html -> Html -- | Combinator for the <del> element. -- -- Example: -- --
-- del $ span $ text "foo" ---- -- Result: -- --
-- <del><span>foo</span></del> --del :: Html -> Html -- | Combinator for the <dfn> element. -- -- Example: -- --
-- dfn $ span $ text "foo" ---- -- Result: -- --
-- <dfn><span>foo</span></dfn> --dfn :: Html -> Html -- | Combinator for the <div> element. -- -- Example: -- --
-- div $ span $ text "foo" ---- -- Result: -- --
-- <div><span>foo</span></div> --div :: Html -> Html -- | Combinator for the <dl> element. -- -- Example: -- --
-- dl $ span $ text "foo" ---- -- Result: -- --
-- <dl><span>foo</span></dl> --dl :: Html -> Html -- | Combinator for the <dt> element. -- -- Example: -- --
-- dt $ span $ text "foo" ---- -- Result: -- --
-- <dt><span>foo</span></dt> --dt :: Html -> Html -- | Combinator for the <em> element. -- -- Example: -- --
-- em $ span $ text "foo" ---- -- Result: -- --
-- <em><span>foo</span></em> --em :: Html -> Html -- | Combinator for the <fieldset> element. -- -- Example: -- --
-- fieldset $ span $ text "foo" ---- -- Result: -- --
-- <fieldset><span>foo</span></fieldset> --fieldset :: Html -> Html -- | Combinator for the <form> element. -- -- Example: -- --
-- form $ span $ text "foo" ---- -- Result: -- --
-- <form><span>foo</span></form> --form :: Html -> Html -- | Combinator for the <h1> element. -- -- Example: -- --
-- h1 $ span $ text "foo" ---- -- Result: -- --
-- <h1><span>foo</span></h1> --h1 :: Html -> Html -- | Combinator for the <h2> element. -- -- Example: -- --
-- h2 $ span $ text "foo" ---- -- Result: -- --
-- <h2><span>foo</span></h2> --h2 :: Html -> Html -- | Combinator for the <h3> element. -- -- Example: -- --
-- h3 $ span $ text "foo" ---- -- Result: -- --
-- <h3><span>foo</span></h3> --h3 :: Html -> Html -- | Combinator for the <h4> element. -- -- Example: -- --
-- h4 $ span $ text "foo" ---- -- Result: -- --
-- <h4><span>foo</span></h4> --h4 :: Html -> Html -- | Combinator for the <h5> element. -- -- Example: -- --
-- h5 $ span $ text "foo" ---- -- Result: -- --
-- <h5><span>foo</span></h5> --h5 :: Html -> Html -- | Combinator for the <h6> element. -- -- Example: -- --
-- h6 $ span $ text "foo" ---- -- Result: -- --
-- <h6><span>foo</span></h6> --h6 :: Html -> Html -- | Combinator for the <head> element. -- -- Example: -- --
-- head $ span $ text "foo" ---- -- Result: -- --
-- <head><span>foo</span></head> --head :: Html -> Html -- | Combinator for the <hr /> element. -- -- Example: -- --
-- hr ---- -- Result: -- --
-- <hr /> --hr :: Html -- | Combinator for the <html> element. -- -- Example: -- --
-- html $ span $ text "foo" ---- -- Result: -- --
-- <html><span>foo</span></html> --html :: Html -> Html -- | Combinator for the <i> element. -- -- Example: -- --
-- i $ span $ text "foo" ---- -- Result: -- --
-- <i><span>foo</span></i> --i :: Html -> Html -- | Combinator for the <img /> element. -- -- Example: -- --
-- img ---- -- Result: -- --
-- <img /> --img :: Html -- | Combinator for the <input /> element. -- -- Example: -- --
-- input ---- -- Result: -- --
-- <input /> --input :: Html -- | Combinator for the <ins> element. -- -- Example: -- --
-- ins $ span $ text "foo" ---- -- Result: -- --
-- <ins><span>foo</span></ins> --ins :: Html -> Html -- | Combinator for the <kbd> element. -- -- Example: -- --
-- kbd $ span $ text "foo" ---- -- Result: -- --
-- <kbd><span>foo</span></kbd> --kbd :: Html -> Html -- | Combinator for the <label> element. -- -- Example: -- --
-- label $ span $ text "foo" ---- -- Result: -- --
-- <label><span>foo</span></label> --label :: Html -> Html -- | Combinator for the <legend> element. -- -- Example: -- --
-- legend $ span $ text "foo" ---- -- Result: -- --
-- <legend><span>foo</span></legend> --legend :: Html -> Html -- | Combinator for the <li> element. -- -- Example: -- --
-- li $ span $ text "foo" ---- -- Result: -- --
-- <li><span>foo</span></li> --li :: Html -> Html -- | Combinator for the <link /> element. -- -- Example: -- --
-- link ---- -- Result: -- --
-- <link /> --link :: Html -- | Combinator for the <map> element. -- -- Example: -- --
-- map $ span $ text "foo" ---- -- Result: -- --
-- <map><span>foo</span></map> --map :: Html -> Html -- | Combinator for the <meta /> element. -- -- Example: -- --
-- meta ---- -- Result: -- --
-- <meta /> --meta :: Html -- | Combinator for the <noscript> element. -- -- Example: -- --
-- noscript $ span $ text "foo" ---- -- Result: -- --
-- <noscript><span>foo</span></noscript> --noscript :: Html -> Html -- | Combinator for the <object> element. -- -- Example: -- --
-- object $ span $ text "foo" ---- -- Result: -- --
-- <object><span>foo</span></object> --object :: Html -> Html -- | Combinator for the <ol> element. -- -- Example: -- --
-- ol $ span $ text "foo" ---- -- Result: -- --
-- <ol><span>foo</span></ol> --ol :: Html -> Html -- | Combinator for the <optgroup> element. -- -- Example: -- --
-- optgroup $ span $ text "foo" ---- -- Result: -- --
-- <optgroup><span>foo</span></optgroup> --optgroup :: Html -> Html -- | Combinator for the <option> element. -- -- Example: -- --
-- option $ span $ text "foo" ---- -- Result: -- --
-- <option><span>foo</span></option> --option :: Html -> Html -- | Combinator for the <p> element. -- -- Example: -- --
-- p $ span $ text "foo" ---- -- Result: -- --
-- <p><span>foo</span></p> --p :: Html -> Html -- | Combinator for the <param /> element. -- -- Example: -- --
-- param ---- -- Result: -- --
-- <param /> --param :: Html -- | Combinator for the <pre> element. -- -- Example: -- --
-- pre $ span $ text "foo" ---- -- Result: -- --
-- <pre><span>foo</span></pre> --pre :: Html -> Html -- | Combinator for the <q> element. -- -- Example: -- --
-- q $ span $ text "foo" ---- -- Result: -- --
-- <q><span>foo</span></q> --q :: Html -> Html -- | Combinator for the <samp> element. -- -- Example: -- --
-- samp $ span $ text "foo" ---- -- Result: -- --
-- <samp><span>foo</span></samp> --samp :: Html -> Html -- | Combinator for the <script> element. -- -- Example: -- --
-- script $ span $ text "foo" ---- -- Result: -- --
-- <script><span>foo</span></script> --script :: Html -> Html -- | Combinator for the <select> element. -- -- Example: -- --
-- select $ span $ text "foo" ---- -- Result: -- --
-- <select><span>foo</span></select> --select :: Html -> Html -- | Combinator for the <small> element. -- -- Example: -- --
-- small $ span $ text "foo" ---- -- Result: -- --
-- <small><span>foo</span></small> --small :: Html -> Html -- | Combinator for the <span> element. -- -- Example: -- --
-- span $ span $ text "foo" ---- -- Result: -- --
-- <span><span>foo</span></span> --span :: Html -> Html -- | Combinator for the <strong> element. -- -- Example: -- --
-- strong $ span $ text "foo" ---- -- Result: -- --
-- <strong><span>foo</span></strong> --strong :: Html -> Html -- | Combinator for the <style> element. -- -- Example: -- --
-- style $ span $ text "foo" ---- -- Result: -- --
-- <style><span>foo</span></style> --style :: Html -> Html -- | Combinator for the <sub> element. -- -- Example: -- --
-- sub $ span $ text "foo" ---- -- Result: -- --
-- <sub><span>foo</span></sub> --sub :: Html -> Html -- | Combinator for the <sup> element. -- -- Example: -- --
-- sup $ span $ text "foo" ---- -- Result: -- --
-- <sup><span>foo</span></sup> --sup :: Html -> Html -- | Combinator for the <table> element. -- -- Example: -- --
-- table $ span $ text "foo" ---- -- Result: -- --
-- <table><span>foo</span></table> --table :: Html -> Html -- | Combinator for the <tbody> element. -- -- Example: -- --
-- tbody $ span $ text "foo" ---- -- Result: -- --
-- <tbody><span>foo</span></tbody> --tbody :: Html -> Html -- | Combinator for the <td> element. -- -- Example: -- --
-- td $ span $ text "foo" ---- -- Result: -- --
-- <td><span>foo</span></td> --td :: Html -> Html -- | Combinator for the <textarea> element. -- -- Example: -- --
-- textarea $ span $ text "foo" ---- -- Result: -- --
-- <textarea><span>foo</span></textarea> --textarea :: Html -> Html -- | Combinator for the <tfoot> element. -- -- Example: -- --
-- tfoot $ span $ text "foo" ---- -- Result: -- --
-- <tfoot><span>foo</span></tfoot> --tfoot :: Html -> Html -- | Combinator for the <th> element. -- -- Example: -- --
-- th $ span $ text "foo" ---- -- Result: -- --
-- <th><span>foo</span></th> --th :: Html -> Html -- | Combinator for the <thead> element. -- -- Example: -- --
-- thead $ span $ text "foo" ---- -- Result: -- --
-- <thead><span>foo</span></thead> --thead :: Html -> Html -- | Combinator for the <title> element. -- -- Example: -- --
-- title $ span $ text "foo" ---- -- Result: -- --
-- <title><span>foo</span></title> --title :: Html -> Html -- | Combinator for the <tr> element. -- -- Example: -- --
-- tr $ span $ text "foo" ---- -- Result: -- --
-- <tr><span>foo</span></tr> --tr :: Html -> Html -- | Combinator for the <tt> element. -- -- Example: -- --
-- tt $ span $ text "foo" ---- -- Result: -- --
-- <tt><span>foo</span></tt> --tt :: Html -> Html -- | Combinator for the <ul> element. -- -- Example: -- --
-- ul $ span $ text "foo" ---- -- Result: -- --
-- <ul><span>foo</span></ul> --ul :: Html -> Html -- | Combinator for the <var> element. -- -- Example: -- --
-- var $ span $ text "foo" ---- -- Result: -- --
-- <var><span>foo</span></var> --var :: Html -> Html -- | This module exports HTML combinators used to create documents. module Text.Blaze.XHtml1.Transitional -- | Combinator for the document type. This should be placed at the top of -- every HTML page. -- -- Example: -- --
-- docType ---- -- Result: -- --
-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" -- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> --docType :: Html -- | Combinator for the <html> element. This combinator will -- also insert the correct doctype. -- -- Example: -- --
-- docTypeHtml $ span $ text "foo" ---- -- Result: -- --
-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" -- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -- <html><span>foo</span></html> --docTypeHtml :: Html -> Html -- | Combinator for the <a> element. -- -- Example: -- --
-- a $ span $ text "foo" ---- -- Result: -- --
-- <a><span>foo</span></a> --a :: Html -> Html -- | Combinator for the <abbr> element. -- -- Example: -- --
-- abbr $ span $ text "foo" ---- -- Result: -- --
-- <abbr><span>foo</span></abbr> --abbr :: Html -> Html -- | Combinator for the <acronym> element. -- -- Example: -- --
-- acronym $ span $ text "foo" ---- -- Result: -- --
-- <acronym><span>foo</span></acronym> --acronym :: Html -> Html -- | Combinator for the <address> element. -- -- Example: -- --
-- address $ span $ text "foo" ---- -- Result: -- --
-- <address><span>foo</span></address> --address :: Html -> Html -- | Combinator for the <applet> element. -- -- Example: -- --
-- applet $ span $ text "foo" ---- -- Result: -- --
-- <applet><span>foo</span></applet> --applet :: Html -> Html -- | Combinator for the <area /> element. -- -- Example: -- --
-- area ---- -- Result: -- --
-- <area /> --area :: Html -- | Combinator for the <b> element. -- -- Example: -- --
-- b $ span $ text "foo" ---- -- Result: -- --
-- <b><span>foo</span></b> --b :: Html -> Html -- | Combinator for the <basefont /> element. -- -- Example: -- --
-- basefont ---- -- Result: -- --
-- <basefont /> --basefont :: Html -- | Combinator for the <bdo> element. -- -- Example: -- --
-- bdo $ span $ text "foo" ---- -- Result: -- --
-- <bdo><span>foo</span></bdo> --bdo :: Html -> Html -- | Combinator for the <big> element. -- -- Example: -- --
-- big $ span $ text "foo" ---- -- Result: -- --
-- <big><span>foo</span></big> --big :: Html -> Html -- | Combinator for the <blockquote> element. -- -- Example: -- --
-- blockquote $ span $ text "foo" ---- -- Result: -- --
-- <blockquote><span>foo</span></blockquote> --blockquote :: Html -> Html -- | Combinator for the <body> element. -- -- Example: -- --
-- body $ span $ text "foo" ---- -- Result: -- --
-- <body><span>foo</span></body> --body :: Html -> Html -- | Combinator for the <br /> element. -- -- Example: -- --
-- br ---- -- Result: -- --
-- <br /> --br :: Html -- | Combinator for the <button> element. -- -- Example: -- --
-- button $ span $ text "foo" ---- -- Result: -- --
-- <button><span>foo</span></button> --button :: Html -> Html -- | Combinator for the <caption> element. -- -- Example: -- --
-- caption $ span $ text "foo" ---- -- Result: -- --
-- <caption><span>foo</span></caption> --caption :: Html -> Html -- | Combinator for the <center> element. -- -- Example: -- --
-- center $ span $ text "foo" ---- -- Result: -- --
-- <center><span>foo</span></center> --center :: Html -> Html -- | Combinator for the <cite> element. -- -- Example: -- --
-- cite $ span $ text "foo" ---- -- Result: -- --
-- <cite><span>foo</span></cite> --cite :: Html -> Html -- | Combinator for the <code> element. -- -- Example: -- --
-- code $ span $ text "foo" ---- -- Result: -- --
-- <code><span>foo</span></code> --code :: Html -> Html -- | Combinator for the <col /> element. -- -- Example: -- --
-- col ---- -- Result: -- --
-- <col /> --col :: Html -- | Combinator for the <colgroup> element. -- -- Example: -- --
-- colgroup $ span $ text "foo" ---- -- Result: -- --
-- <colgroup><span>foo</span></colgroup> --colgroup :: Html -> Html -- | Combinator for the <dd> element. -- -- Example: -- --
-- dd $ span $ text "foo" ---- -- Result: -- --
-- <dd><span>foo</span></dd> --dd :: Html -> Html -- | Combinator for the <del> element. -- -- Example: -- --
-- del $ span $ text "foo" ---- -- Result: -- --
-- <del><span>foo</span></del> --del :: Html -> Html -- | Combinator for the <dfn> element. -- -- Example: -- --
-- dfn $ span $ text "foo" ---- -- Result: -- --
-- <dfn><span>foo</span></dfn> --dfn :: Html -> Html -- | Combinator for the <dir> element. -- -- Example: -- --
-- dir $ span $ text "foo" ---- -- Result: -- --
-- <dir><span>foo</span></dir> --dir :: Html -> Html -- | Combinator for the <div> element. -- -- Example: -- --
-- div $ span $ text "foo" ---- -- Result: -- --
-- <div><span>foo</span></div> --div :: Html -> Html -- | Combinator for the <dl> element. -- -- Example: -- --
-- dl $ span $ text "foo" ---- -- Result: -- --
-- <dl><span>foo</span></dl> --dl :: Html -> Html -- | Combinator for the <dt> element. -- -- Example: -- --
-- dt $ span $ text "foo" ---- -- Result: -- --
-- <dt><span>foo</span></dt> --dt :: Html -> Html -- | Combinator for the <em> element. -- -- Example: -- --
-- em $ span $ text "foo" ---- -- Result: -- --
-- <em><span>foo</span></em> --em :: Html -> Html -- | Combinator for the <fieldset> element. -- -- Example: -- --
-- fieldset $ span $ text "foo" ---- -- Result: -- --
-- <fieldset><span>foo</span></fieldset> --fieldset :: Html -> Html -- | Combinator for the <font> element. -- -- Example: -- --
-- font $ span $ text "foo" ---- -- Result: -- --
-- <font><span>foo</span></font> --font :: Html -> Html -- | Combinator for the <form> element. -- -- Example: -- --
-- form $ span $ text "foo" ---- -- Result: -- --
-- <form><span>foo</span></form> --form :: Html -> Html -- | Combinator for the <h1> element. -- -- Example: -- --
-- h1 $ span $ text "foo" ---- -- Result: -- --
-- <h1><span>foo</span></h1> --h1 :: Html -> Html -- | Combinator for the <h2> element. -- -- Example: -- --
-- h2 $ span $ text "foo" ---- -- Result: -- --
-- <h2><span>foo</span></h2> --h2 :: Html -> Html -- | Combinator for the <h3> element. -- -- Example: -- --
-- h3 $ span $ text "foo" ---- -- Result: -- --
-- <h3><span>foo</span></h3> --h3 :: Html -> Html -- | Combinator for the <h4> element. -- -- Example: -- --
-- h4 $ span $ text "foo" ---- -- Result: -- --
-- <h4><span>foo</span></h4> --h4 :: Html -> Html -- | Combinator for the <h5> element. -- -- Example: -- --
-- h5 $ span $ text "foo" ---- -- Result: -- --
-- <h5><span>foo</span></h5> --h5 :: Html -> Html -- | Combinator for the <h6> element. -- -- Example: -- --
-- h6 $ span $ text "foo" ---- -- Result: -- --
-- <h6><span>foo</span></h6> --h6 :: Html -> Html -- | Combinator for the <head> element. -- -- Example: -- --
-- head $ span $ text "foo" ---- -- Result: -- --
-- <head><span>foo</span></head> --head :: Html -> Html -- | Combinator for the <hr /> element. -- -- Example: -- --
-- hr ---- -- Result: -- --
-- <hr /> --hr :: Html -- | Combinator for the <html> element. -- -- Example: -- --
-- html $ span $ text "foo" ---- -- Result: -- --
-- <html><span>foo</span></html> --html :: Html -> Html -- | Combinator for the <i> element. -- -- Example: -- --
-- i $ span $ text "foo" ---- -- Result: -- --
-- <i><span>foo</span></i> --i :: Html -> Html -- | Combinator for the <iframe> element. -- -- Example: -- --
-- iframe $ span $ text "foo" ---- -- Result: -- --
-- <iframe><span>foo</span></iframe> --iframe :: Html -> Html -- | Combinator for the <img /> element. -- -- Example: -- --
-- img ---- -- Result: -- --
-- <img /> --img :: Html -- | Combinator for the <input /> element. -- -- Example: -- --
-- input ---- -- Result: -- --
-- <input /> --input :: Html -- | Combinator for the <ins> element. -- -- Example: -- --
-- ins $ span $ text "foo" ---- -- Result: -- --
-- <ins><span>foo</span></ins> --ins :: Html -> Html -- | Combinator for the <isindex> element. -- -- Example: -- --
-- isindex $ span $ text "foo" ---- -- Result: -- --
-- <isindex><span>foo</span></isindex> --isindex :: Html -> Html -- | Combinator for the <kbd> element. -- -- Example: -- --
-- kbd $ span $ text "foo" ---- -- Result: -- --
-- <kbd><span>foo</span></kbd> --kbd :: Html -> Html -- | Combinator for the <label> element. -- -- Example: -- --
-- label $ span $ text "foo" ---- -- Result: -- --
-- <label><span>foo</span></label> --label :: Html -> Html -- | Combinator for the <legend> element. -- -- Example: -- --
-- legend $ span $ text "foo" ---- -- Result: -- --
-- <legend><span>foo</span></legend> --legend :: Html -> Html -- | Combinator for the <li> element. -- -- Example: -- --
-- li $ span $ text "foo" ---- -- Result: -- --
-- <li><span>foo</span></li> --li :: Html -> Html -- | Combinator for the <link /> element. -- -- Example: -- --
-- link ---- -- Result: -- --
-- <link /> --link :: Html -- | Combinator for the <map> element. -- -- Example: -- --
-- map $ span $ text "foo" ---- -- Result: -- --
-- <map><span>foo</span></map> --map :: Html -> Html -- | Combinator for the <menu> element. -- -- Example: -- --
-- menu $ span $ text "foo" ---- -- Result: -- --
-- <menu><span>foo</span></menu> --menu :: Html -> Html -- | Combinator for the <meta /> element. -- -- Example: -- --
-- meta ---- -- Result: -- --
-- <meta /> --meta :: Html -- | Combinator for the <noframes> element. -- -- Example: -- --
-- noframes $ span $ text "foo" ---- -- Result: -- --
-- <noframes><span>foo</span></noframes> --noframes :: Html -> Html -- | Combinator for the <noscript> element. -- -- Example: -- --
-- noscript $ span $ text "foo" ---- -- Result: -- --
-- <noscript><span>foo</span></noscript> --noscript :: Html -> Html -- | Combinator for the <object> element. -- -- Example: -- --
-- object $ span $ text "foo" ---- -- Result: -- --
-- <object><span>foo</span></object> --object :: Html -> Html -- | Combinator for the <ol> element. -- -- Example: -- --
-- ol $ span $ text "foo" ---- -- Result: -- --
-- <ol><span>foo</span></ol> --ol :: Html -> Html -- | Combinator for the <optgroup> element. -- -- Example: -- --
-- optgroup $ span $ text "foo" ---- -- Result: -- --
-- <optgroup><span>foo</span></optgroup> --optgroup :: Html -> Html -- | Combinator for the <option> element. -- -- Example: -- --
-- option $ span $ text "foo" ---- -- Result: -- --
-- <option><span>foo</span></option> --option :: Html -> Html -- | Combinator for the <p> element. -- -- Example: -- --
-- p $ span $ text "foo" ---- -- Result: -- --
-- <p><span>foo</span></p> --p :: Html -> Html -- | Combinator for the <param /> element. -- -- Example: -- --
-- param ---- -- Result: -- --
-- <param /> --param :: Html -- | Combinator for the <pre> element. -- -- Example: -- --
-- pre $ span $ text "foo" ---- -- Result: -- --
-- <pre><span>foo</span></pre> --pre :: Html -> Html -- | Combinator for the <q> element. -- -- Example: -- --
-- q $ span $ text "foo" ---- -- Result: -- --
-- <q><span>foo</span></q> --q :: Html -> Html -- | Combinator for the <s> element. -- -- Example: -- --
-- s $ span $ text "foo" ---- -- Result: -- --
-- <s><span>foo</span></s> --s :: Html -> Html -- | Combinator for the <samp> element. -- -- Example: -- --
-- samp $ span $ text "foo" ---- -- Result: -- --
-- <samp><span>foo</span></samp> --samp :: Html -> Html -- | Combinator for the <script> element. -- -- Example: -- --
-- script $ span $ text "foo" ---- -- Result: -- --
-- <script><span>foo</span></script> --script :: Html -> Html -- | Combinator for the <select> element. -- -- Example: -- --
-- select $ span $ text "foo" ---- -- Result: -- --
-- <select><span>foo</span></select> --select :: Html -> Html -- | Combinator for the <small> element. -- -- Example: -- --
-- small $ span $ text "foo" ---- -- Result: -- --
-- <small><span>foo</span></small> --small :: Html -> Html -- | Combinator for the <span> element. -- -- Example: -- --
-- span $ span $ text "foo" ---- -- Result: -- --
-- <span><span>foo</span></span> --span :: Html -> Html -- | Combinator for the <strong> element. -- -- Example: -- --
-- strong $ span $ text "foo" ---- -- Result: -- --
-- <strong><span>foo</span></strong> --strong :: Html -> Html -- | Combinator for the <style> element. -- -- Example: -- --
-- style $ span $ text "foo" ---- -- Result: -- --
-- <style><span>foo</span></style> --style :: Html -> Html -- | Combinator for the <sub> element. -- -- Example: -- --
-- sub $ span $ text "foo" ---- -- Result: -- --
-- <sub><span>foo</span></sub> --sub :: Html -> Html -- | Combinator for the <sup> element. -- -- Example: -- --
-- sup $ span $ text "foo" ---- -- Result: -- --
-- <sup><span>foo</span></sup> --sup :: Html -> Html -- | Combinator for the <table> element. -- -- Example: -- --
-- table $ span $ text "foo" ---- -- Result: -- --
-- <table><span>foo</span></table> --table :: Html -> Html -- | Combinator for the <tbody> element. -- -- Example: -- --
-- tbody $ span $ text "foo" ---- -- Result: -- --
-- <tbody><span>foo</span></tbody> --tbody :: Html -> Html -- | Combinator for the <td> element. -- -- Example: -- --
-- td $ span $ text "foo" ---- -- Result: -- --
-- <td><span>foo</span></td> --td :: Html -> Html -- | Combinator for the <textarea> element. -- -- Example: -- --
-- textarea $ span $ text "foo" ---- -- Result: -- --
-- <textarea><span>foo</span></textarea> --textarea :: Html -> Html -- | Combinator for the <tfoot> element. -- -- Example: -- --
-- tfoot $ span $ text "foo" ---- -- Result: -- --
-- <tfoot><span>foo</span></tfoot> --tfoot :: Html -> Html -- | Combinator for the <th> element. -- -- Example: -- --
-- th $ span $ text "foo" ---- -- Result: -- --
-- <th><span>foo</span></th> --th :: Html -> Html -- | Combinator for the <thead> element. -- -- Example: -- --
-- thead $ span $ text "foo" ---- -- Result: -- --
-- <thead><span>foo</span></thead> --thead :: Html -> Html -- | Combinator for the <title> element. -- -- Example: -- --
-- title $ span $ text "foo" ---- -- Result: -- --
-- <title><span>foo</span></title> --title :: Html -> Html -- | Combinator for the <tr> element. -- -- Example: -- --
-- tr $ span $ text "foo" ---- -- Result: -- --
-- <tr><span>foo</span></tr> --tr :: Html -> Html -- | Combinator for the <tt> element. -- -- Example: -- --
-- tt $ span $ text "foo" ---- -- Result: -- --
-- <tt><span>foo</span></tt> --tt :: Html -> Html -- | Combinator for the <u> element. -- -- Example: -- --
-- u $ span $ text "foo" ---- -- Result: -- --
-- <u><span>foo</span></u> --u :: Html -> Html -- | Combinator for the <ul> element. -- -- Example: -- --
-- ul $ span $ text "foo" ---- -- Result: -- --
-- <ul><span>foo</span></ul> --ul :: Html -> Html -- | Combinator for the <var> element. -- -- Example: -- --
-- var $ span $ text "foo" ---- -- Result: -- --
-- <var><span>foo</span></var> --var :: Html -> Html