3
module Text.XHtml.Strict.Attributes where
5
import Text.XHtml.Internals
7
-- * Attributes in XHTML Strict
9
action :: String -> HtmlAttr
10
align :: String -> HtmlAttr
12
alt :: String -> HtmlAttr
13
altcode :: String -> HtmlAttr
14
archive :: String -> HtmlAttr
15
base :: String -> HtmlAttr
16
border :: Int -> HtmlAttr
17
bordercolor :: String -> HtmlAttr
18
cellpadding :: Int -> HtmlAttr
19
cellspacing :: Int -> HtmlAttr
21
codebase :: String -> HtmlAttr
22
cols :: String -> HtmlAttr
23
colspan :: Int -> HtmlAttr
24
content :: String -> HtmlAttr
25
coords :: String -> HtmlAttr
27
enctype :: String -> HtmlAttr
28
height :: String -> HtmlAttr
29
href :: String -> HtmlAttr
30
hreflang :: String -> HtmlAttr
31
httpequiv :: String -> HtmlAttr
32
identifier :: String -> HtmlAttr
34
lang :: String -> HtmlAttr
35
maxlength :: Int -> HtmlAttr
36
method :: String -> HtmlAttr
38
name :: String -> HtmlAttr
40
rel :: String -> HtmlAttr
41
rev :: String -> HtmlAttr
42
rows :: String -> HtmlAttr
43
rowspan :: Int -> HtmlAttr
44
rules :: String -> HtmlAttr
46
shape :: String -> HtmlAttr
47
size :: String -> HtmlAttr
48
src :: String -> HtmlAttr
49
theclass :: String -> HtmlAttr
50
thefor :: String -> HtmlAttr
51
thestyle :: String -> HtmlAttr
52
thetype :: String -> HtmlAttr
53
title :: String -> HtmlAttr
54
usemap :: String -> HtmlAttr
55
valign :: String -> HtmlAttr
56
value :: String -> HtmlAttr
57
width :: String -> HtmlAttr
59
action = strAttr "action"
60
align = strAttr "align"
62
altcode = strAttr "altcode"
63
archive = strAttr "archive"
65
border = intAttr "border"
66
bordercolor = strAttr "bordercolor"
67
cellpadding = intAttr "cellpadding"
68
cellspacing = intAttr "cellspacing"
69
checked = emptyAttr "checked"
70
codebase = strAttr "codebase"
72
colspan = intAttr "colspan"
73
content = strAttr "content"
74
coords = strAttr "coords"
75
disabled = emptyAttr "disabled"
76
enctype = strAttr "enctype"
77
height = strAttr "height"
79
hreflang = strAttr "hreflang"
80
httpequiv = strAttr "http-equiv"
81
identifier = strAttr "id"
82
ismap = emptyAttr "ismap"
84
maxlength = intAttr "maxlength"
85
method = strAttr "method"
86
multiple = emptyAttr "multiple"
88
nohref = emptyAttr "nohref"
92
rowspan = intAttr "rowspan"
93
rules = strAttr "rules"
94
selected = emptyAttr "selected"
95
shape = strAttr "shape"
98
theclass = strAttr "class"
99
thefor = strAttr "for"
100
thestyle = strAttr "style"
101
thetype = strAttr "type"
102
title = strAttr "title"
103
usemap = strAttr "usemap"
104
valign = strAttr "valign"
105
value = strAttr "value"
106
width = strAttr "width"