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
data HtmlElement #
Constructors
HtmlString String | |
HtmlTag | |
Fields
|
Constructors
Html | |
Fields |
Minimal complete definition
Minimal complete definition
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 #
Minimal complete definition
Constructors
HtmlTable (BlockTable (Int -> Int -> 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]] #
Constructors
HotLink | |
Fields
|
renderHtml :: HTML html => html -> String #
renderMessage :: [Char] #
prettyHtml :: HTML html => html -> String #
renderHtml' :: Int -> HtmlElement -> ShowS #
prettyHtml' :: HtmlElement -> [String] #