blizzard-html-0.5.0.0: An HTML generator for Haskell
Copyright(c) Joshua Obritsch 2021
LicenseMIT
Maintainerjoshua@obritsch.com
StabilityExperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Html.Attributes

Description

The Html.Attributes module provides a set of functions for generating HTML attributes.

Synopsis

Attributes

abbr

abbr :: Builder -> Attribute Source #

Generates an HTML abbr attribute with the given value.

accept

accept :: Builder -> Attribute Source #

Generates an HTML accept attribute with the given value.

acceptCharset

acceptCharset :: Builder -> Attribute Source #

Generates an HTML accept-charset attribute with the given value.

accesskey

accesskey :: Builder -> Attribute Source #

Generates an HTML accesskey attribute with the given value.

action

action :: Builder -> Attribute Source #

Generates an HTML action attribute with the given value.

allow

allow :: Builder -> Attribute Source #

Generates an HTML allow attribute with the given value.

allowfullscreen

allowfullscreen :: Bool -> Attribute Source #

Generates an HTML allowfullscreen attribute with the given value.

alt

alt :: Builder -> Attribute Source #

Generates an HTML alt attribute with the given value.

as

as :: Builder -> Attribute Source #

Generates an HTML as attribute with the given value.

async

async :: Bool -> Attribute Source #

Generates an HTML async attribute with the given value.

autocapitalize

autocapitalize :: Builder -> Attribute Source #

Generates an HTML autocapitalize attribute with the given value.

autocomplete

autocomplete :: Builder -> Attribute Source #

Generates an HTML autocomplete attribute with the given value.

autofocus

autofocus :: Bool -> Attribute Source #

Generates an HTML autofocus attribute with the given value.

autoplay

autoplay :: Bool -> Attribute Source #

Generates an HTML autoplay attribute with the given value.

blocking

blocking :: Builder -> Attribute Source #

Generates an HTML blocking attribute with the given value.

charset

charset :: Builder -> Attribute Source #

Generates an HTML charset attribute with the given value.

checked

checked :: Bool -> Attribute Source #

Generates an HTML checked attribute with the given value.

cite

cite :: Builder -> Attribute Source #

Generates an HTML cite attribute with the given value.

class

class_ :: Builder -> Attribute Source #

Generates an HTML class attribute with the given value.

color

color :: Builder -> Attribute Source #

Generates an HTML color attribute with the given value.

cols

cols :: Builder -> Attribute Source #

Generates an HTML cols attribute with the given value.

colspan

colspan :: Builder -> Attribute Source #

Generates an HTML colspan attribute with the given value.

content

content :: Builder -> Attribute Source #

Generates an HTML content attribute with the given value.

contenteditable

contenteditable :: Builder -> Attribute Source #

Generates an HTML contenteditable attribute with the given value.

controls

controls :: Bool -> Attribute Source #

Generates an HTML controls attribute with the given value.

coords

coords :: Builder -> Attribute Source #

Generates an HTML coords attribute with the given value.

crossorigin

crossorigin :: Builder -> Attribute Source #

Generates an HTML crossorigin attribute with the given value.

data

data_ :: Builder -> Attribute Source #

Generates an HTML data attribute with the given value.

datetime

datetime :: Builder -> Attribute Source #

Generates an HTML datetime attribute with the given value.

decoding

decoding :: Builder -> Attribute Source #

Generates an HTML decoding attribute with the given value.

default

default_ :: Bool -> Attribute Source #

Generates an HTML default attribute with the given value.

defer

defer :: Bool -> Attribute Source #

Generates an HTML defer attribute with the given value.

dir

dir :: Builder -> Attribute Source #

Generates an HTML dir attribute with the given value.

disabled

disabled :: Bool -> Attribute Source #

Generates an HTML disabled attribute with the given value.

download

download :: Builder -> Attribute Source #

Generates an HTML download attribute with the given value.

draggable

draggable :: Builder -> Attribute Source #

Generates an HTML draggable attribute with the given value.

enctype

enctype :: Builder -> Attribute Source #

Generates an HTML enctype attribute with the given value.

enterkeyhint

enterkeyhint :: Builder -> Attribute Source #

Generates an HTML enterkeyhint attribute with the given value.

for

for :: Builder -> Attribute Source #

Generates an HTML for attribute with the given value.

form

form :: Builder -> Attribute Source #

Generates an HTML form attribute with the given value.

formaction

formaction :: Builder -> Attribute Source #

Generates an HTML formaction attribute with the given value.

formenctype

formenctype :: Builder -> Attribute Source #

Generates an HTML formenctype attribute with the given value.

formmethod

formmethod :: Builder -> Attribute Source #

Generates an HTML formmethod attribute with the given value.

formnovalidate

formnovalidate :: Bool -> Attribute Source #

Generates an HTML formnovalidate attribute with the given value.

formtarget

formtarget :: Builder -> Attribute Source #

Generates an HTML formtarget attribute with the given value.

headers

headers :: Builder -> Attribute Source #

Generates an HTML headers attribute with the given value.

height

height :: Builder -> Attribute Source #

Generates an HTML height attribute with the given value.

hidden

hidden :: Bool -> Attribute Source #

Generates an HTML hidden attribute with the given value.

high

high :: Builder -> Attribute Source #

Generates an HTML high attribute with the given value.

href

href :: Builder -> Attribute Source #

Generates an HTML href attribute with the given value.

hreflang

hreflang :: Builder -> Attribute Source #

Generates an HTML hreflang attribute with the given value.

httpEquiv

httpEquiv :: Builder -> Attribute Source #

Generates an HTML http-equiv attribute with the given value.

id

id :: Builder -> Attribute Source #

Generates an HTML id attribute with the given value.

imagesizes

imagesizes :: Builder -> Attribute Source #

Generates an HTML imagesizes attribute with the given value.

imagesrcset

imagesrcset :: Builder -> Attribute Source #

Generates an HTML imagesrcset attribute with the given value.

inert

inert :: Bool -> Attribute Source #

Generates an HTML inert attribute with the given value.

inputmode

inputmode :: Builder -> Attribute Source #

Generates an HTML inputmode attribute with the given value.

integrity

integrity :: Builder -> Attribute Source #

Generates an HTML integrity attribute with the given value.

is

is :: Builder -> Attribute Source #

Generates an HTML is attribute with the given value.

ismap

ismap :: Bool -> Attribute Source #

Generates an HTML ismap attribute with the given value.

itemid

itemid :: Builder -> Attribute Source #

Generates an HTML itemid attribute with the given value.

itemprop

itemprop :: Builder -> Attribute Source #

Generates an HTML itemprop attribute with the given value.

itemref

itemref :: Builder -> Attribute Source #

Generates an HTML itemref attribute with the given value.

itemscope

itemscope :: Bool -> Attribute Source #

Generates an HTML itemscope attribute with the given value.

itemtype

itemtype :: Builder -> Attribute Source #

Generates an HTML itemtype attribute with the given value.

kind

kind :: Builder -> Attribute Source #

Generates an HTML kind attribute with the given value.

label

label :: Builder -> Attribute Source #

Generates an HTML label attribute with the given value.

lang

lang :: Builder -> Attribute Source #

Generates an HTML lang attribute with the given value.

list

list :: Builder -> Attribute Source #

Generates an HTML list attribute with the given value.

loading

loading :: Builder -> Attribute Source #

Generates an HTML loading attribute with the given value.

loop

loop :: Bool -> Attribute Source #

Generates an HTML loop attribute with the given value.

low

low :: Builder -> Attribute Source #

Generates an HTML low attribute with the given value.

max

max :: Builder -> Attribute Source #

Generates an HTML max attribute with the given value.

maxlength

maxlength :: Builder -> Attribute Source #

Generates an HTML maxlength attribute with the given value.

media

media :: Builder -> Attribute Source #

Generates an HTML media attribute with the given value.

method

method :: Builder -> Attribute Source #

Generates an HTML method attribute with the given value.

min

min :: Builder -> Attribute Source #

Generates an HTML min attribute with the given value.

minlength

minlength :: Builder -> Attribute Source #

Generates an HTML minlength attribute with the given value.

multiple

multiple :: Bool -> Attribute Source #

Generates an HTML multiple attribute with the given value.

muted

muted :: Bool -> Attribute Source #

Generates an HTML muted attribute with the given value.

name

name :: Builder -> Attribute Source #

Generates an HTML name attribute with the given value.

nomodule

nomodule :: Bool -> Attribute Source #

Generates an HTML nomodule attribute with the given value.

nonce

nonce :: Builder -> Attribute Source #

Generates an HTML nonce attribute with the given value.

novalidate

novalidate :: Bool -> Attribute Source #

Generates an HTML novalidate attribute with the given value.

open

open :: Bool -> Attribute Source #

Generates an HTML open attribute with the given value.

optimum

optimum :: Builder -> Attribute Source #

Generates an HTML optimum attribute with the given value.

pattern

pattern :: Builder -> Attribute Source #

Generates an HTML pattern attribute with the given value.

ping

ping :: Builder -> Attribute Source #

Generates an HTML ping attribute with the given value.

placeholder

placeholder :: Builder -> Attribute Source #

Generates an HTML placeholder attribute with the given value.

playsinline

playsinline :: Bool -> Attribute Source #

Generates an HTML playsinline attribute with the given value.

poster

poster :: Builder -> Attribute Source #

Generates an HTML poster attribute with the given value.

preload

preload :: Builder -> Attribute Source #

Generates an HTML preload attribute with the given value.

readonly

readonly :: Bool -> Attribute Source #

Generates an HTML readonly attribute with the given value.

referrerpolicy

referrerpolicy :: Builder -> Attribute Source #

Generates an HTML referrerpolicy attribute with the given value.

rel

rel :: Builder -> Attribute Source #

Generates an HTML rel attribute with the given value.

required

required :: Bool -> Attribute Source #

Generates an HTML required attribute with the given value.

reversed

reversed :: Bool -> Attribute Source #

Generates an HTML reversed attribute with the given value.

rows

rows :: Builder -> Attribute Source #

Generates an HTML rows attribute with the given value.

rowspan

rowspan :: Builder -> Attribute Source #

Generates an HTML rowspan attribute with the given value.

sandbox

sandbox :: Builder -> Attribute Source #

Generates an HTML sandbox attribute with the given value.

scope

scope :: Builder -> Attribute Source #

Generates an HTML scope attribute with the given value.

selected

selected :: Bool -> Attribute Source #

Generates an HTML selected attribute with the given value.

shape

shape :: Builder -> Attribute Source #

Generates an HTML shape attribute with the given value.

size

size :: Builder -> Attribute Source #

Generates an HTML size attribute with the given value.

sizes

sizes :: Builder -> Attribute Source #

Generates an HTML sizes attribute with the given value.

slot

slot :: Builder -> Attribute Source #

Generates an HTML slot attribute with the given value.

span

span :: Builder -> Attribute Source #

Generates an HTML span attribute with the given value.

spellcheck

spellcheck :: Builder -> Attribute Source #

Generates an HTML spellcheck attribute with the given value.

src

src :: Builder -> Attribute Source #

Generates an HTML src attribute with the given value.

srcdoc

srcdoc :: Builder -> Attribute Source #

Generates an HTML srcdoc attribute with the given value.

srclang

srclang :: Builder -> Attribute Source #

Generates an HTML srclang attribute with the given value.

srcset

srcset :: Builder -> Attribute Source #

Generates an HTML srcset attribute with the given value.

start

start :: Builder -> Attribute Source #

Generates an HTML start attribute with the given value.

step

step :: Builder -> Attribute Source #

Generates an HTML step attribute with the given value.

style

style :: Builder -> Attribute Source #

Generates an HTML style attribute with the given value.

tabindex

tabindex :: Builder -> Attribute Source #

Generates an HTML tabindex attribute with the given value.

target

target :: Builder -> Attribute Source #

Generates an HTML target attribute with the given value.

title

title :: Builder -> Attribute Source #

Generates an HTML title attribute with the given value.

translate

translate :: Builder -> Attribute Source #

Generates an HTML translate attribute with the given value.

type

type_ :: Builder -> Attribute Source #

Generates an HTML type attribute with the given value.

usemap

usemap :: Builder -> Attribute Source #

Generates an HTML usemap attribute with the given value.

value

value :: Builder -> Attribute Source #

Generates an HTML value attribute with the given value.

width

width :: Builder -> Attribute Source #

Generates an HTML width attribute with the given value.

wrap

wrap :: Builder -> Attribute Source #

Generates an HTML wrap attribute with the given value.