InternetLib

cmd, cmd', et al

HTML construction

Types

cmd :: TagName -> HtmlItem
cmd' :: TagName -> TagAttrs -> HtmlItem
ctx :: TagName -> Html -> HtmlItem
ctx' :: TagName -> TagAttrs -> Html -> HtmlItem
ctx_class :: TagName -> String -> Html -> HtmlItem
txt :: String -> HtmlItem
nl :: HtmlItem

Description

These function create empty elements (cmd and cmd'), elements with contents (ctx, ctx' and ctx_class), plain text (txt and nl).

See Also

The HTML data type Html. Convenience functions: html, h1, img, etc.
InternetLib