Copyright | (c) Andy Gill and OGI, 1999-2001 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | Andy Gill <andy@galconn.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Text.Html
Description
An Html combinator library
Documentation
data HtmlElement Source
Constructors
HtmlString String | |
HtmlTag | |
Fields
|
Constructors
Html | |
Fields |
Minimal complete definition
concatHtml :: HTML a => [a] -> Html Source
stringToHtmlString :: String -> String Source
stringToHtml :: String -> Html Source
lineToHtml :: String -> Html Source
blockquote :: Html -> Html Source
background :: String -> HtmlAttr Source
bordercolor :: String -> HtmlAttr Source
cellpadding :: Int -> HtmlAttr Source
cellspacing :: Int -> HtmlAttr Source
frameborder :: Int -> HtmlAttr Source
identifier :: String -> HtmlAttr Source
marginheight :: Int -> HtmlAttr Source
marginwidth :: Int -> HtmlAttr Source
validHtmlTags :: [String] Source
validHtmlITags :: [String] Source
validHtmlAttrs :: [String] Source
linesToHtml :: [String] -> Html Source
primHtmlChar :: String -> Html Source
Constructors
HtmlTable (BlockTable (Int -> Int -> Html)) |
mkHtmlTable :: BlockTable (Int -> Int -> Html) -> HtmlTable Source
combine :: (BlockTable (Int -> Int -> Html) -> BlockTable (Int -> Int -> Html) -> BlockTable (Int -> Int -> Html)) -> HtmlTable -> HtmlTable -> HtmlTable Source
renderTable :: BlockTable (Int -> Int -> Html) -> Html Source
treeColors :: [[Char]] Source
Constructors
HotLink | |
Fields
|
renderHtml :: HTML html => html -> String Source
renderMessage :: [Char] Source
prettyHtml :: HTML html => html -> String Source
renderHtml' :: Int -> HtmlElement -> ShowS Source
prettyHtml' :: HtmlElement -> [String] Source