blaze-html-0.7.0.3: A blazingly fast HTML combinator library for Haskell

Safe HaskellNone
LanguageHaskell98

Text.Blaze.Html4.Strict.Attributes

Description

This module exports combinators that provide you with the ability to set attributes on HTML elements.

Synopsis

Documentation

abbr

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the abbr attribute.

Example:

div ! abbr "bar" $ "Hello."

Result:

<div abbr="bar">Hello.</div>

accept

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the accept attribute.

Example:

div ! accept "bar" $ "Hello."

Result:

<div accept="bar">Hello.</div>

accesskey

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the accesskey attribute.

Example:

div ! accesskey "bar" $ "Hello."

Result:

<div accesskey="bar">Hello.</div>

action

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the action attribute.

Example:

div ! action "bar" $ "Hello."

Result:

<div action="bar">Hello.</div>

align

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the align attribute.

Example:

div ! align "bar" $ "Hello."

Result:

<div align="bar">Hello.</div>

alt

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the alt attribute.

Example:

div ! alt "bar" $ "Hello."

Result:

<div alt="bar">Hello.</div>

archive

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the archive attribute.

Example:

div ! archive "bar" $ "Hello."

Result:

<div archive="bar">Hello.</div>

axis

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the axis attribute.

Example:

div ! axis "bar" $ "Hello."

Result:

<div axis="bar">Hello.</div>

border

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the border attribute.

Example:

div ! border "bar" $ "Hello."

Result:

<div border="bar">Hello.</div>

cellpadding

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the cellpadding attribute.

Example:

div ! cellpadding "bar" $ "Hello."

Result:

<div cellpadding="bar">Hello.</div>

cellspacing

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the cellspacing attribute.

Example:

div ! cellspacing "bar" $ "Hello."

Result:

<div cellspacing="bar">Hello.</div>

char

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the char attribute.

Example:

div ! char "bar" $ "Hello."

Result:

<div char="bar">Hello.</div>

charoff

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the charoff attribute.

Example:

div ! charoff "bar" $ "Hello."

Result:

<div charoff="bar">Hello.</div>

charset

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the charset attribute.

Example:

div ! charset "bar" $ "Hello."

Result:

<div charset="bar">Hello.</div>

checked

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the checked attribute.

Example:

div ! checked "bar" $ "Hello."

Result:

<div checked="bar">Hello.</div>

cite

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the cite attribute.

Example:

div ! cite "bar" $ "Hello."

Result:

<div cite="bar">Hello.</div>

class_

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the class attribute.

Example:

div ! class_ "bar" $ "Hello."

Result:

<div class="bar">Hello.</div>

classid

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the classid attribute.

Example:

div ! classid "bar" $ "Hello."

Result:

<div classid="bar">Hello.</div>

codebase

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the codebase attribute.

Example:

div ! codebase "bar" $ "Hello."

Result:

<div codebase="bar">Hello.</div>

codetype

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the codetype attribute.

Example:

div ! codetype "bar" $ "Hello."

Result:

<div codetype="bar">Hello.</div>

cols

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the cols attribute.

Example:

div ! cols "bar" $ "Hello."

Result:

<div cols="bar">Hello.</div>

colspan

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the colspan attribute.

Example:

div ! colspan "bar" $ "Hello."

Result:

<div colspan="bar">Hello.</div>

content

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the content attribute.

Example:

div ! content "bar" $ "Hello."

Result:

<div content="bar">Hello.</div>

coords

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the coords attribute.

Example:

div ! coords "bar" $ "Hello."

Result:

<div coords="bar">Hello.</div>

data_

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the data attribute.

Example:

div ! data_ "bar" $ "Hello."

Result:

<div data="bar">Hello.</div>

datetime

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the datetime attribute.

Example:

div ! datetime "bar" $ "Hello."

Result:

<div datetime="bar">Hello.</div>

declare

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the declare attribute.

Example:

div ! declare "bar" $ "Hello."

Result:

<div declare="bar">Hello.</div>

defer

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the defer attribute.

Example:

div ! defer "bar" $ "Hello."

Result:

<div defer="bar">Hello.</div>

dir

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the dir attribute.

Example:

div ! dir "bar" $ "Hello."

Result:

<div dir="bar">Hello.</div>

disabled

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the disabled attribute.

Example:

div ! disabled "bar" $ "Hello."

Result:

<div disabled="bar">Hello.</div>

enctype

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the enctype attribute.

Example:

div ! enctype "bar" $ "Hello."

Result:

<div enctype="bar">Hello.</div>

for

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the for attribute.

Example:

div ! for "bar" $ "Hello."

Result:

<div for="bar">Hello.</div>

frame

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the frame attribute.

Example:

div ! frame "bar" $ "Hello."

Result:

<div frame="bar">Hello.</div>

headers

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the headers attribute.

Example:

div ! headers "bar" $ "Hello."

Result:

<div headers="bar">Hello.</div>

height

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the height attribute.

Example:

div ! height "bar" $ "Hello."

Result:

<div height="bar">Hello.</div>

href

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the href attribute.

Example:

div ! href "bar" $ "Hello."

Result:

<div href="bar">Hello.</div>

hreflang

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the hreflang attribute.

Example:

div ! hreflang "bar" $ "Hello."

Result:

<div hreflang="bar">Hello.</div>

httpEquiv

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the http-equiv attribute.

Example:

div ! httpEquiv "bar" $ "Hello."

Result:

<div http-equiv="bar">Hello.</div>

id

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the id attribute.

Example:

div ! id "bar" $ "Hello."

Result:

<div id="bar">Hello.</div>

label

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the label attribute.

Example:

div ! label "bar" $ "Hello."

Result:

<div label="bar">Hello.</div>

lang

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the lang attribute.

Example:

div ! lang "bar" $ "Hello."

Result:

<div lang="bar">Hello.</div>

maxlength

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the maxlength attribute.

Example:

div ! maxlength "bar" $ "Hello."

Result:

<div maxlength="bar">Hello.</div>

media

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the media attribute.

Example:

div ! media "bar" $ "Hello."

Result:

<div media="bar">Hello.</div>

method

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the method attribute.

Example:

div ! method "bar" $ "Hello."

Result:

<div method="bar">Hello.</div>

multiple

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the multiple attribute.

Example:

div ! multiple "bar" $ "Hello."

Result:

<div multiple="bar">Hello.</div>

name

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the name attribute.

Example:

div ! name "bar" $ "Hello."

Result:

<div name="bar">Hello.</div>

nohref

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the nohref attribute.

Example:

div ! nohref "bar" $ "Hello."

Result:

<div nohref="bar">Hello.</div>

onabort

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onabort attribute.

Example:

div ! onabort "bar" $ "Hello."

Result:

<div onabort="bar">Hello.</div>

onblur

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onblur attribute.

Example:

div ! onblur "bar" $ "Hello."

Result:

<div onblur="bar">Hello.</div>

onchange

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onchange attribute.

Example:

div ! onchange "bar" $ "Hello."

Result:

<div onchange="bar">Hello.</div>

onclick

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onclick attribute.

Example:

div ! onclick "bar" $ "Hello."

Result:

<div onclick="bar">Hello.</div>

ondblclick

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the ondblclick attribute.

Example:

div ! ondblclick "bar" $ "Hello."

Result:

<div ondblclick="bar">Hello.</div>

onfocus

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onfocus attribute.

Example:

div ! onfocus "bar" $ "Hello."

Result:

<div onfocus="bar">Hello.</div>

onkeydown

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onkeydown attribute.

Example:

div ! onkeydown "bar" $ "Hello."

Result:

<div onkeydown="bar">Hello.</div>

onkeypress

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onkeypress attribute.

Example:

div ! onkeypress "bar" $ "Hello."

Result:

<div onkeypress="bar">Hello.</div>

onkeyup

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onkeyup attribute.

Example:

div ! onkeyup "bar" $ "Hello."

Result:

<div onkeyup="bar">Hello.</div>

onload

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onload attribute.

Example:

div ! onload "bar" $ "Hello."

Result:

<div onload="bar">Hello.</div>

onmousedown

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onmousedown attribute.

Example:

div ! onmousedown "bar" $ "Hello."

Result:

<div onmousedown="bar">Hello.</div>

onmousemove

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onmousemove attribute.

Example:

div ! onmousemove "bar" $ "Hello."

Result:

<div onmousemove="bar">Hello.</div>

onmouseout

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onmouseout attribute.

Example:

div ! onmouseout "bar" $ "Hello."

Result:

<div onmouseout="bar">Hello.</div>

onmouseover

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onmouseover attribute.

Example:

div ! onmouseover "bar" $ "Hello."

Result:

<div onmouseover="bar">Hello.</div>

onmouseup

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onmouseup attribute.

Example:

div ! onmouseup "bar" $ "Hello."

Result:

<div onmouseup="bar">Hello.</div>

onreset

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onreset attribute.

Example:

div ! onreset "bar" $ "Hello."

Result:

<div onreset="bar">Hello.</div>

onselect

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onselect attribute.

Example:

div ! onselect "bar" $ "Hello."

Result:

<div onselect="bar">Hello.</div>

onsubmit

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onsubmit attribute.

Example:

div ! onsubmit "bar" $ "Hello."

Result:

<div onsubmit="bar">Hello.</div>

onunload

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the onunload attribute.

Example:

div ! onunload "bar" $ "Hello."

Result:

<div onunload="bar">Hello.</div>

profile

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the profile attribute.

Example:

div ! profile "bar" $ "Hello."

Result:

<div profile="bar">Hello.</div>

readonly

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the readonly attribute.

Example:

div ! readonly "bar" $ "Hello."

Result:

<div readonly="bar">Hello.</div>

rel

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the rel attribute.

Example:

div ! rel "bar" $ "Hello."

Result:

<div rel="bar">Hello.</div>

rev

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the rev attribute.

Example:

div ! rev "bar" $ "Hello."

Result:

<div rev="bar">Hello.</div>

rows

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the rows attribute.

Example:

div ! rows "bar" $ "Hello."

Result:

<div rows="bar">Hello.</div>

rowspan

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the rowspan attribute.

Example:

div ! rowspan "bar" $ "Hello."

Result:

<div rowspan="bar">Hello.</div>

rules

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the rules attribute.

Example:

div ! rules "bar" $ "Hello."

Result:

<div rules="bar">Hello.</div>

scheme

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the scheme attribute.

Example:

div ! scheme "bar" $ "Hello."

Result:

<div scheme="bar">Hello.</div>

scope

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the scope attribute.

Example:

div ! scope "bar" $ "Hello."

Result:

<div scope="bar">Hello.</div>

selected

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the selected attribute.

Example:

div ! selected "bar" $ "Hello."

Result:

<div selected="bar">Hello.</div>

shape

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the shape attribute.

Example:

div ! shape "bar" $ "Hello."

Result:

<div shape="bar">Hello.</div>

size

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the size attribute.

Example:

div ! size "bar" $ "Hello."

Result:

<div size="bar">Hello.</div>

span

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the span attribute.

Example:

div ! span "bar" $ "Hello."

Result:

<div span="bar">Hello.</div>

src

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the src attribute.

Example:

div ! src "bar" $ "Hello."

Result:

<div src="bar">Hello.</div>

standby

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the standby attribute.

Example:

div ! standby "bar" $ "Hello."

Result:

<div standby="bar">Hello.</div>

style

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the style attribute.

Example:

div ! style "bar" $ "Hello."

Result:

<div style="bar">Hello.</div>

summary

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the summary attribute.

Example:

div ! summary "bar" $ "Hello."

Result:

<div summary="bar">Hello.</div>

tabindex

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the tabindex attribute.

Example:

div ! tabindex "bar" $ "Hello."

Result:

<div tabindex="bar">Hello.</div>

title

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the title attribute.

Example:

div ! title "bar" $ "Hello."

Result:

<div title="bar">Hello.</div>

type_

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the type attribute.

Example:

div ! type_ "bar" $ "Hello."

Result:

<div type="bar">Hello.</div>

usemap

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the usemap attribute.

Example:

div ! usemap "bar" $ "Hello."

Result:

<div usemap="bar">Hello.</div>

valign

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the valign attribute.

Example:

div ! valign "bar" $ "Hello."

Result:

<div valign="bar">Hello.</div>

value

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the value attribute.

Example:

div ! value "bar" $ "Hello."

Result:

<div value="bar">Hello.</div>

valuetype

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the valuetype attribute.

Example:

div ! valuetype "bar" $ "Hello."

Result:

<div valuetype="bar">Hello.</div>

width

Arguments

:: AttributeValue

Attribute value.

-> Attribute

Resulting attribute.

Combinator for the width attribute.

Example:

div ! width "bar" $ "Hello."

Result:

<div width="bar">Hello.</div>