Copyright | (c) Joshua Obritsch 2021 |
---|---|
License | MIT |
Maintainer | [email protected] |
Stability | Experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Html.Attributes
Contents
- Attributes
- abbr
- accept
- acceptCharset
- accesskey
- action
- allow
- allowfullscreen
- alt
- as
- async
- autocapitalize
- autocomplete
- autofocus
- autoplay
- blocking
- charset
- checked
- cite
- class
- color
- cols
- colspan
- content
- contenteditable
- controls
- coords
- crossorigin
- data
- datetime
- decoding
- default
- defer
- dir
- disabled
- download
- draggable
- enctype
- enterkeyhint
- for
- form
- formaction
- formenctype
- formmethod
- formnovalidate
- formtarget
- headers
- height
- hidden
- high
- href
- hreflang
- httpEquiv
- id
- imagesizes
- imagesrcset
- inert
- inputmode
- integrity
- is
- ismap
- itemid
- itemprop
- itemref
- itemscope
- itemtype
- kind
- label
- lang
- list
- loading
- loop
- low
- max
- maxlength
- media
- method
- min
- minlength
- multiple
- muted
- name
- nomodule
- nonce
- novalidate
- open
- optimum
- pattern
- ping
- placeholder
- playsinline
- poster
- preload
- readonly
- referrerpolicy
- rel
- required
- reversed
- rows
- rowspan
- sandbox
- scope
- selected
- shape
- size
- sizes
- slot
- span
- spellcheck
- src
- srcdoc
- srclang
- srcset
- start
- step
- style
- tabindex
- target
- title
- translate
- type
- usemap
- value
- width
- wrap
Description
The Html.Attributes module provides a set of functions for generating HTML attributes.
Synopsis
- abbr :: Builder -> Attribute
- accept :: Builder -> Attribute
- acceptCharset :: Builder -> Attribute
- accesskey :: Builder -> Attribute
- action :: Builder -> Attribute
- allow :: Builder -> Attribute
- allowfullscreen :: Bool -> Attribute
- alt :: Builder -> Attribute
- as :: Builder -> Attribute
- async :: Bool -> Attribute
- autocapitalize :: Builder -> Attribute
- autocomplete :: Builder -> Attribute
- autofocus :: Bool -> Attribute
- autoplay :: Bool -> Attribute
- blocking :: Builder -> Attribute
- charset :: Builder -> Attribute
- checked :: Bool -> Attribute
- cite :: Builder -> Attribute
- class_ :: Builder -> Attribute
- color :: Builder -> Attribute
- cols :: Builder -> Attribute
- colspan :: Builder -> Attribute
- content :: Builder -> Attribute
- contenteditable :: Builder -> Attribute
- controls :: Bool -> Attribute
- coords :: Builder -> Attribute
- crossorigin :: Builder -> Attribute
- data_ :: Builder -> Attribute
- datetime :: Builder -> Attribute
- decoding :: Builder -> Attribute
- default_ :: Bool -> Attribute
- defer :: Bool -> Attribute
- dir :: Builder -> Attribute
- disabled :: Bool -> Attribute
- download :: Builder -> Attribute
- draggable :: Builder -> Attribute
- enctype :: Builder -> Attribute
- enterkeyhint :: Builder -> Attribute
- for :: Builder -> Attribute
- form :: Builder -> Attribute
- formaction :: Builder -> Attribute
- formenctype :: Builder -> Attribute
- formmethod :: Builder -> Attribute
- formnovalidate :: Bool -> Attribute
- formtarget :: Builder -> Attribute
- headers :: Builder -> Attribute
- height :: Builder -> Attribute
- hidden :: Bool -> Attribute
- high :: Builder -> Attribute
- href :: Builder -> Attribute
- hreflang :: Builder -> Attribute
- httpEquiv :: Builder -> Attribute
- id :: Builder -> Attribute
- imagesizes :: Builder -> Attribute
- imagesrcset :: Builder -> Attribute
- inert :: Bool -> Attribute
- inputmode :: Builder -> Attribute
- integrity :: Builder -> Attribute
- is :: Builder -> Attribute
- ismap :: Bool -> Attribute
- itemid :: Builder -> Attribute
- itemprop :: Builder -> Attribute
- itemref :: Builder -> Attribute
- itemscope :: Bool -> Attribute
- itemtype :: Builder -> Attribute
- kind :: Builder -> Attribute
- label :: Builder -> Attribute
- lang :: Builder -> Attribute
- list :: Builder -> Attribute
- loading :: Builder -> Attribute
- loop :: Bool -> Attribute
- low :: Builder -> Attribute
- max :: Builder -> Attribute
- maxlength :: Builder -> Attribute
- media :: Builder -> Attribute
- method :: Builder -> Attribute
- min :: Builder -> Attribute
- minlength :: Builder -> Attribute
- multiple :: Bool -> Attribute
- muted :: Bool -> Attribute
- name :: Builder -> Attribute
- nomodule :: Bool -> Attribute
- nonce :: Builder -> Attribute
- novalidate :: Bool -> Attribute
- open :: Bool -> Attribute
- optimum :: Builder -> Attribute
- pattern :: Builder -> Attribute
- ping :: Builder -> Attribute
- placeholder :: Builder -> Attribute
- playsinline :: Bool -> Attribute
- poster :: Builder -> Attribute
- preload :: Builder -> Attribute
- readonly :: Bool -> Attribute
- referrerpolicy :: Builder -> Attribute
- rel :: Builder -> Attribute
- required :: Bool -> Attribute
- reversed :: Bool -> Attribute
- rows :: Builder -> Attribute
- rowspan :: Builder -> Attribute
- sandbox :: Builder -> Attribute
- scope :: Builder -> Attribute
- selected :: Bool -> Attribute
- shape :: Builder -> Attribute
- size :: Builder -> Attribute
- sizes :: Builder -> Attribute
- slot :: Builder -> Attribute
- span :: Builder -> Attribute
- spellcheck :: Builder -> Attribute
- src :: Builder -> Attribute
- srcdoc :: Builder -> Attribute
- srclang :: Builder -> Attribute
- srcset :: Builder -> Attribute
- start :: Builder -> Attribute
- step :: Builder -> Attribute
- style :: Builder -> Attribute
- tabindex :: Builder -> Attribute
- target :: Builder -> Attribute
- title :: Builder -> Attribute
- translate :: Builder -> Attribute
- type_ :: Builder -> Attribute
- usemap :: Builder -> Attribute
- value :: Builder -> Attribute
- width :: Builder -> Attribute
- wrap :: Builder -> Attribute
Attributes
abbr
accept
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
allow
allowfullscreen
allowfullscreen :: Bool -> Attribute Source #
Generates an HTML allowfullscreen
attribute with the given value.
alt
as
async
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
autoplay
blocking
charset
checked
cite
class
color
cols
colspan
content
contenteditable
contenteditable :: Builder -> Attribute Source #
Generates an HTML contenteditable
attribute with the given value.
controls
coords
crossorigin
crossorigin :: Builder -> Attribute Source #
Generates an HTML crossorigin
attribute with the given value.
data
datetime
decoding
default
defer
dir
disabled
download
draggable
draggable :: Builder -> Attribute Source #
Generates an HTML draggable
attribute with the given value.
enctype
enterkeyhint
enterkeyhint :: Builder -> Attribute Source #
Generates an HTML enterkeyhint
attribute with the given value.
for
form
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
height
hidden
high
href
hreflang
httpEquiv
httpEquiv :: Builder -> Attribute Source #
Generates an HTML http-equiv
attribute with the given value.
id
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
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
ismap
itemid
itemprop
itemref
itemscope
itemtype
kind
label
lang
list
loading
loop
low
max
maxlength
maxlength :: Builder -> Attribute Source #
Generates an HTML maxlength
attribute with the given value.
media
method
min
minlength
minlength :: Builder -> Attribute Source #
Generates an HTML minlength
attribute with the given value.
multiple
muted
name
nomodule
nonce
novalidate
novalidate :: Bool -> Attribute Source #
Generates an HTML novalidate
attribute with the given value.
open
optimum
pattern
ping
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
preload
readonly
referrerpolicy
referrerpolicy :: Builder -> Attribute Source #
Generates an HTML referrerpolicy
attribute with the given value.
rel
required
reversed
rows
rowspan
sandbox
scope
selected
shape
size
sizes
slot
span
spellcheck
spellcheck :: Builder -> Attribute Source #
Generates an HTML spellcheck
attribute with the given value.
src
srcdoc
srclang
srcset
start
step
style
tabindex
target
title
translate
translate :: Builder -> Attribute Source #
Generates an HTML translate
attribute with the given value.