| 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 |
| Language | Haskell98 |
Text.Html
Description
An Html combinator library
Documentation
Constructors
| HotLink | |
Fields
| |
Constructors
| HtmlTable (BlockTable (Int -> Int -> Html)) |
Minimal complete definition
data HtmlElement #
Constructors
| HtmlString String | |
| HtmlTag | |
Fields
| |
concatHtml :: HTML a => [a] -> Html #
stringToHtmlString :: String -> String #
stringToHtml :: String -> Html #
lineToHtml :: String -> Html #
blockquote :: Html -> Html #
background :: String -> HtmlAttr #
bordercolor :: String -> HtmlAttr #
cellpadding :: Int -> HtmlAttr #
cellspacing :: Int -> HtmlAttr #
frameborder :: Int -> HtmlAttr #
identifier :: String -> HtmlAttr #
marginheight :: Int -> HtmlAttr #
marginwidth :: Int -> HtmlAttr #
validHtmlTags :: [String] #
validHtmlITags :: [String] #
validHtmlAttrs :: [String] #
linesToHtml :: [String] -> Html #
primHtmlChar :: String -> Html #
mkHtmlTable :: BlockTable (Int -> Int -> Html) -> HtmlTable #
combine :: (BlockTable (Int -> Int -> Html) -> BlockTable (Int -> Int -> Html) -> BlockTable (Int -> Int -> Html)) -> HtmlTable -> HtmlTable -> HtmlTable #
renderTable :: BlockTable (Int -> Int -> Html) -> Html #
treeColors :: [[Char]] #
renderHtml :: HTML html => html -> String #
renderMessage :: [Char] #
prettyHtml :: HTML html => html -> String #
renderHtml' :: Int -> HtmlElement -> ShowS #
prettyHtml' :: HtmlElement -> [String] #