|
|
|
|
|
Description |
Produces XHTML 1.0 Transitional.
|
|
Synopsis |
|
|
|
|
Data types
|
|
|
Instances | |
|
|
|
Attributes with name and value.
| Instances | |
|
|
Classes
|
|
|
HTML is the class of things that can be validly put
inside an HTML tag. So this can be one or more Html elements,
or a String, for example.
| | Methods | | | Instances | |
|
|
|
| Methods | | | Instances | |
|
|
Primitives and basic combinators
|
|
|
:: HTML a | | => Html -> b | Parent
| -> a | Child
| -> b | | Put something inside an HTML element.
|
|
|
|
|
|
Create a piece of HTML which is the concatenation
of two things which can be made into HTML.
|
|
|
An empty piece of HTML.
|
|
|
Checks whether the given piece of HTML is empty.
|
|
|
:: String | Element name
| -> Html | Element contents
| -> Html | | Constructs an element with a custom name.
|
|
|
|
Constructs an element with a custom name, and
without any children.
|
|
|
|
|
|
|
|
|
|
|
This is not processed for special chars.
use stringToHtml or lineToHtml instead, for user strings,
because they understand special chars, like <.
|
|
Rendering
|
|
|
Output the HTML without adding newlines or spaces within the markup.
This should be the most time and space efficient way to
render HTML, though the ouput is quite unreadable.
|
|
|
Outputs indented HTML. Because space matters in
HTML, the output is quite messy.
|
|
|
Outputs indented HTML, with indentation inside elements.
This can change the meaning of the HTML document, and
is mostly useful for debugging the HTML output.
The implementation is inefficient, and you are normally
better off using showHtml or renderHtml.
|
|
|
Render a piece of HTML without adding a DOCTYPE declaration
or root element. Does not add any extra whitespace.
|
|
|
Render a piece of indented HTML without adding a DOCTYPE declaration
or root element. Only adds whitespace where it does not change
the meaning of the document.
|
|
|
Render a piece of indented HTML without adding a DOCTYPE declaration
or a root element.
The indentation is done inside elements.
This can change the meaning of the HTML document, and
is mostly useful for debugging the HTML output.
The implementation is inefficient, and you are normally
better off using showHtmlFragment or renderHtmlFragment.
|
|
Elements in XHTML Strict
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Extra elements in XHTML Frameset
|
|
|
|
|
|
|
|
Extra elements in XHTML Transitional
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes in XHTML Strict
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Extra attributes in XHTML Frameset
|
|
|
|
|
|
|
|
|
|
|
|
Extra attributes in XHTML Transitional
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Html colors
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Converting strings to HTML
|
|
|
Convert a String to Html, converting
characters that need to be escaped to HTML entities.
|
|
|
This converts a string, but keeps spaces as non-line-breakable.
|
|
|
This converts a string, but keeps spaces as non-line-breakable,
and adds line breaks between each of the strings in the input list.
|
|
Html abbreviations
|
|
|
|
|
Copyright sign.
|
|
|
Non-breaking space.
|
|
|
|
|
Same as paragraph.
|
|
Hotlinks
|
|
|
|
|
Constructors | | Instances | |
|
|
|
|
Lists
|
|
|
|
|
|
|
|
Forms
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.4.2 |