html-1.0.1.2: HTML combinator librarySource codeContentsIndex
Text.Html
Portabilityportable
Stabilityprovisional
MaintainerAndy Gill <andy@galconn.com>
Description
An Html combinator library
Documentation
data HtmlElement Source
Constructors
HtmlString String
HtmlTag
markupTag :: String
markupAttrs :: [HtmlAttr]
markupContent :: Html
data HtmlAttr Source
Constructors
HtmlAttr String String
show/hide Instances
newtype Html Source
Constructors
Html
getHtmlElements :: [HtmlElement]
show/hide Instances
class HTML a whereSource
Methods
toHtml :: a -> HtmlSource
toHtmlFromList :: [a] -> HtmlSource
show/hide Instances
class ADDATTRS a whereSource
Methods
(!) :: a -> [HtmlAttr] -> aSource
show/hide Instances
(<<) :: HTML a => (Html -> b) -> a -> bSource
concatHtml :: HTML a => [a] -> HtmlSource
(+++) :: (HTML a, HTML b) => a -> b -> HtmlSource
noHtml :: HtmlSource
tag :: String -> Html -> HtmlSource
itag :: String -> HtmlSource
emptyAttr :: String -> HtmlAttrSource
intAttr :: String -> Int -> HtmlAttrSource
strAttr :: String -> String -> HtmlAttrSource
stringToHtmlString :: String -> StringSource
type URL = StringSource
primHtml :: String -> HtmlSource
stringToHtml :: String -> HtmlSource
lineToHtml :: String -> HtmlSource
address :: Html -> HtmlSource
anchor :: Html -> HtmlSource
applet :: Html -> HtmlSource
area :: HtmlSource
basefont :: HtmlSource
big :: Html -> HtmlSource
blockquote :: Html -> HtmlSource
body :: Html -> HtmlSource
bold :: Html -> HtmlSource
br :: HtmlSource
caption :: Html -> HtmlSource
center :: Html -> HtmlSource
cite :: Html -> HtmlSource
ddef :: Html -> HtmlSource
define :: Html -> HtmlSource
dlist :: Html -> HtmlSource
dterm :: Html -> HtmlSource
emphasize :: Html -> HtmlSource
fieldset :: Html -> HtmlSource
font :: Html -> HtmlSource
form :: Html -> HtmlSource
frame :: Html -> HtmlSource
frameset :: Html -> HtmlSource
h1 :: Html -> HtmlSource
h2 :: Html -> HtmlSource
h3 :: Html -> HtmlSource
h4 :: Html -> HtmlSource
h5 :: Html -> HtmlSource
h6 :: Html -> HtmlSource
header :: Html -> HtmlSource
hr :: HtmlSource
image :: HtmlSource
input :: HtmlSource
italics :: Html -> HtmlSource
keyboard :: Html -> HtmlSource
legend :: Html -> HtmlSource
li :: Html -> HtmlSource
meta :: HtmlSource
noframes :: Html -> HtmlSource
olist :: Html -> HtmlSource
option :: Html -> HtmlSource
paragraph :: Html -> HtmlSource
param :: HtmlSource
pre :: Html -> HtmlSource
sample :: Html -> HtmlSource
select :: Html -> HtmlSource
small :: Html -> HtmlSource
strong :: Html -> HtmlSource
style :: Html -> HtmlSource
sub :: Html -> HtmlSource
sup :: Html -> HtmlSource
table :: Html -> HtmlSource
td :: Html -> HtmlSource
textarea :: Html -> HtmlSource
th :: Html -> HtmlSource
thebase :: HtmlSource
thecode :: Html -> HtmlSource
thediv :: Html -> HtmlSource
thehtml :: Html -> HtmlSource
thelink :: Html -> HtmlSource
themap :: Html -> HtmlSource
thespan :: Html -> HtmlSource
thetitle :: Html -> HtmlSource
tr :: Html -> HtmlSource
tt :: Html -> HtmlSource
ulist :: Html -> HtmlSource
underline :: Html -> HtmlSource
variable :: Html -> HtmlSource
action :: String -> HtmlAttrSource
align :: String -> HtmlAttrSource
alink :: String -> HtmlAttrSource
alt :: String -> HtmlAttrSource
altcode :: String -> HtmlAttrSource
archive :: String -> HtmlAttrSource
background :: String -> HtmlAttrSource
base :: String -> HtmlAttrSource
bgcolor :: String -> HtmlAttrSource
border :: Int -> HtmlAttrSource
bordercolor :: String -> HtmlAttrSource
cellpadding :: Int -> HtmlAttrSource
cellspacing :: Int -> HtmlAttrSource
checked :: HtmlAttrSource
clear :: String -> HtmlAttrSource
code :: String -> HtmlAttrSource
codebase :: String -> HtmlAttrSource
color :: String -> HtmlAttrSource
cols :: String -> HtmlAttrSource
colspan :: Int -> HtmlAttrSource
compact :: HtmlAttrSource
content :: String -> HtmlAttrSource
coords :: String -> HtmlAttrSource
enctype :: String -> HtmlAttrSource
face :: String -> HtmlAttrSource
frameborder :: Int -> HtmlAttrSource
height :: Int -> HtmlAttrSource
href :: String -> HtmlAttrSource
hspace :: Int -> HtmlAttrSource
httpequiv :: String -> HtmlAttrSource
identifier :: String -> HtmlAttrSource
ismap :: HtmlAttrSource
lang :: String -> HtmlAttrSource
link :: String -> HtmlAttrSource
marginheight :: Int -> HtmlAttrSource
marginwidth :: Int -> HtmlAttrSource
maxlength :: Int -> HtmlAttrSource
method :: String -> HtmlAttrSource
multiple :: HtmlAttrSource
name :: String -> HtmlAttrSource
nohref :: HtmlAttrSource
noresize :: HtmlAttrSource
noshade :: HtmlAttrSource
nowrap :: HtmlAttrSource
rel :: String -> HtmlAttrSource
rev :: String -> HtmlAttrSource
rows :: String -> HtmlAttrSource
rowspan :: Int -> HtmlAttrSource
rules :: String -> HtmlAttrSource
scrolling :: String -> HtmlAttrSource
selected :: HtmlAttrSource
shape :: String -> HtmlAttrSource
size :: String -> HtmlAttrSource
src :: String -> HtmlAttrSource
start :: Int -> HtmlAttrSource
target :: String -> HtmlAttrSource
text :: String -> HtmlAttrSource
theclass :: String -> HtmlAttrSource
thestyle :: String -> HtmlAttrSource
thetype :: String -> HtmlAttrSource
title :: String -> HtmlAttrSource
usemap :: String -> HtmlAttrSource
valign :: String -> HtmlAttrSource
value :: String -> HtmlAttrSource
version :: String -> HtmlAttrSource
vlink :: String -> HtmlAttrSource
vspace :: Int -> HtmlAttrSource
width :: String -> HtmlAttrSource
validHtmlTags :: [String]Source
validHtmlITags :: [String]Source
validHtmlAttrs :: [String]Source
aqua :: StringSource
black :: StringSource
blue :: StringSource
fuchsia :: StringSource
gray :: StringSource
green :: StringSource
lime :: StringSource
maroon :: StringSource
navy :: StringSource
olive :: StringSource
purple :: StringSource
red :: StringSource
silver :: StringSource
teal :: StringSource
yellow :: StringSource
white :: StringSource
linesToHtml :: [String] -> HtmlSource
primHtmlChar :: String -> HtmlSource
copyright :: HtmlSource
spaceHtml :: HtmlSource
bullet :: HtmlSource
p :: Html -> HtmlSource
class HTMLTABLE ht whereSource
Methods
cell :: ht -> HtmlTableSource
show/hide Instances
newtype HtmlTable Source
Constructors
HtmlTable (BlockTable (Int -> Int -> Html))
show/hide Instances
above :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTableSource
(<->) :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTableSource
beside :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTableSource
(</>) :: (HTMLTABLE ht1, HTMLTABLE ht2) => ht1 -> ht2 -> HtmlTableSource
besides :: HTMLTABLE ht => [ht] -> HtmlTableSource
aboves :: HTMLTABLE ht => [ht] -> HtmlTableSource
simpleTable :: [HtmlAttr] -> [HtmlAttr] -> [[Html]] -> HtmlSource
mkHtmlTable :: BlockTable (Int -> Int -> Html) -> HtmlTableSource
renderTable :: BlockTable (Int -> Int -> Html) -> HtmlSource
data HtmlTree Source
Constructors
HtmlLeaf Html
HtmlNode Html [HtmlTree] Html
show/hide Instances
treeHtml :: [String] -> HtmlTree -> HtmlSource
debugHtml :: HTML a => a -> HtmlSource
data HotLink Source
Constructors
HotLink
hotLinkURL :: URL
hotLinkContents :: [Html]
hotLinkAttributes :: [HtmlAttr]
show/hide Instances
hotlink :: URL -> [Html] -> HotLinkSource
ordList :: HTML a => [a] -> HtmlSource
unordList :: HTML a => [a] -> HtmlSource
defList :: (HTML a, HTML b) => [(a, b)] -> HtmlSource
widget :: String -> String -> [HtmlAttr] -> HtmlSource
checkbox :: String -> String -> HtmlSource
hidden :: String -> String -> HtmlSource
radio :: String -> String -> HtmlSource
reset :: String -> String -> HtmlSource
submit :: String -> String -> HtmlSource
password :: String -> HtmlSource
textfield :: String -> HtmlSource
afile :: String -> HtmlSource
clickmap :: String -> HtmlSource
menu :: String -> [Html] -> HtmlSource
gui :: String -> Html -> HtmlSource
renderHtml :: HTML html => html -> StringSource
prettyHtml :: HTML html => html -> StringSource
renderHtml' :: Int -> HtmlElement -> ShowSSource
prettyHtml' :: HtmlElement -> [String]Source
renderTag :: Bool -> String -> [HtmlAttr] -> Int -> ShowSSource
Produced by Haddock version 2.4.2