blaze-html-0.4.3.3: A blazingly fast HTML combinator library for Haskell

Safe HaskellSafe-Infered

Text.Blaze.XHtml1.Transitional

Description

This module exports HTML combinators used to create documents.

Synopsis

Documentation

module Text.Blaze

docTypeSource

Arguments

:: Html

The document type HTML.

Combinator for the document type. This should be placed at the top of every HTML page.

Example:

 docType

Result:

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

docTypeHtmlSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <html> element. This combinator will also insert the correct doctype.

Example:

 docTypeHtml $ span $ text "foo"

Result:

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html><span>foo</span></html>

aSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <a> element.

Example:

 a $ span $ text "foo"

Result:

 <a><span>foo</span></a>

abbrSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <abbr> element.

Example:

 abbr $ span $ text "foo"

Result:

 <abbr><span>foo</span></abbr>

acronymSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <acronym> element.

Example:

 acronym $ span $ text "foo"

Result:

 <acronym><span>foo</span></acronym>

addressSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <address> element.

Example:

 address $ span $ text "foo"

Result:

 <address><span>foo</span></address>

appletSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <applet> element.

Example:

 applet $ span $ text "foo"

Result:

 <applet><span>foo</span></applet>

areaSource

Arguments

:: Html

Resulting HTML.

Combinator for the <area /> element.

Example:

 area

Result:

 <area />

bSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <b> element.

Example:

 b $ span $ text "foo"

Result:

 <b><span>foo</span></b>

basefontSource

Arguments

:: Html

Resulting HTML.

Combinator for the <basefont /> element.

Example:

 basefont

Result:

 <basefont />

bdoSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <bdo> element.

Example:

 bdo $ span $ text "foo"

Result:

 <bdo><span>foo</span></bdo>

bigSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <big> element.

Example:

 big $ span $ text "foo"

Result:

 <big><span>foo</span></big>

blockquoteSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <blockquote> element.

Example:

 blockquote $ span $ text "foo"

Result:

 <blockquote><span>foo</span></blockquote>

bodySource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <body> element.

Example:

 body $ span $ text "foo"

Result:

 <body><span>foo</span></body>

brSource

Arguments

:: Html

Resulting HTML.

Combinator for the <br /> element.

Example:

 br

Result:

 <br />

buttonSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <button> element.

Example:

 button $ span $ text "foo"

Result:

 <button><span>foo</span></button>

captionSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <caption> element.

Example:

 caption $ span $ text "foo"

Result:

 <caption><span>foo</span></caption>

centerSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <center> element.

Example:

 center $ span $ text "foo"

Result:

 <center><span>foo</span></center>

citeSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <cite> element.

Example:

 cite $ span $ text "foo"

Result:

 <cite><span>foo</span></cite>

codeSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <code> element.

Example:

 code $ span $ text "foo"

Result:

 <code><span>foo</span></code>

colSource

Arguments

:: Html

Resulting HTML.

Combinator for the <col /> element.

Example:

 col

Result:

 <col />

colgroupSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <colgroup> element.

Example:

 colgroup $ span $ text "foo"

Result:

 <colgroup><span>foo</span></colgroup>

ddSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <dd> element.

Example:

 dd $ span $ text "foo"

Result:

 <dd><span>foo</span></dd>

delSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <del> element.

Example:

 del $ span $ text "foo"

Result:

 <del><span>foo</span></del>

dfnSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <dfn> element.

Example:

 dfn $ span $ text "foo"

Result:

 <dfn><span>foo</span></dfn>

dirSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <dir> element.

Example:

 dir $ span $ text "foo"

Result:

 <dir><span>foo</span></dir>

divSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <div> element.

Example:

 div $ span $ text "foo"

Result:

 <div><span>foo</span></div>

dlSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <dl> element.

Example:

 dl $ span $ text "foo"

Result:

 <dl><span>foo</span></dl>

dtSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <dt> element.

Example:

 dt $ span $ text "foo"

Result:

 <dt><span>foo</span></dt>

emSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <em> element.

Example:

 em $ span $ text "foo"

Result:

 <em><span>foo</span></em>

fieldsetSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <fieldset> element.

Example:

 fieldset $ span $ text "foo"

Result:

 <fieldset><span>foo</span></fieldset>

fontSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <font> element.

Example:

 font $ span $ text "foo"

Result:

 <font><span>foo</span></font>

formSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <form> element.

Example:

 form $ span $ text "foo"

Result:

 <form><span>foo</span></form>

h1Source

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <h1> element.

Example:

 h1 $ span $ text "foo"

Result:

 <h1><span>foo</span></h1>

h2Source

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <h2> element.

Example:

 h2 $ span $ text "foo"

Result:

 <h2><span>foo</span></h2>

h3Source

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <h3> element.

Example:

 h3 $ span $ text "foo"

Result:

 <h3><span>foo</span></h3>

h4Source

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <h4> element.

Example:

 h4 $ span $ text "foo"

Result:

 <h4><span>foo</span></h4>

h5Source

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <h5> element.

Example:

 h5 $ span $ text "foo"

Result:

 <h5><span>foo</span></h5>

h6Source

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <h6> element.

Example:

 h6 $ span $ text "foo"

Result:

 <h6><span>foo</span></h6>

headSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <head> element.

Example:

 head $ span $ text "foo"

Result:

 <head><span>foo</span></head>

hrSource

Arguments

:: Html

Resulting HTML.

Combinator for the <hr /> element.

Example:

 hr

Result:

 <hr />

htmlSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <html> element.

Example:

 html $ span $ text "foo"

Result:

 <html><span>foo</span></html>

iSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <i> element.

Example:

 i $ span $ text "foo"

Result:

 <i><span>foo</span></i>

iframeSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <iframe> element.

Example:

 iframe $ span $ text "foo"

Result:

 <iframe><span>foo</span></iframe>

imgSource

Arguments

:: Html

Resulting HTML.

Combinator for the <img /> element.

Example:

 img

Result:

 <img />

inputSource

Arguments

:: Html

Resulting HTML.

Combinator for the <input /> element.

Example:

 input

Result:

 <input />

insSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <ins> element.

Example:

 ins $ span $ text "foo"

Result:

 <ins><span>foo</span></ins>

isindexSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <isindex> element.

Example:

 isindex $ span $ text "foo"

Result:

 <isindex><span>foo</span></isindex>

kbdSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <kbd> element.

Example:

 kbd $ span $ text "foo"

Result:

 <kbd><span>foo</span></kbd>

labelSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <label> element.

Example:

 label $ span $ text "foo"

Result:

 <label><span>foo</span></label>

legendSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <legend> element.

Example:

 legend $ span $ text "foo"

Result:

 <legend><span>foo</span></legend>

liSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <li> element.

Example:

 li $ span $ text "foo"

Result:

 <li><span>foo</span></li>

linkSource

Arguments

:: Html

Resulting HTML.

Combinator for the <link /> element.

Example:

 link

Result:

 <link />

mapSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <map> element.

Example:

 map $ span $ text "foo"

Result:

 <map><span>foo</span></map>

menuSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <menu> element.

Example:

 menu $ span $ text "foo"

Result:

 <menu><span>foo</span></menu>

metaSource

Arguments

:: Html

Resulting HTML.

Combinator for the <meta /> element.

Example:

 meta

Result:

 <meta />

noframesSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <noframes> element.

Example:

 noframes $ span $ text "foo"

Result:

 <noframes><span>foo</span></noframes>

noscriptSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <noscript> element.

Example:

 noscript $ span $ text "foo"

Result:

 <noscript><span>foo</span></noscript>

objectSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <object> element.

Example:

 object $ span $ text "foo"

Result:

 <object><span>foo</span></object>

olSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <ol> element.

Example:

 ol $ span $ text "foo"

Result:

 <ol><span>foo</span></ol>

optgroupSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <optgroup> element.

Example:

 optgroup $ span $ text "foo"

Result:

 <optgroup><span>foo</span></optgroup>

optionSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <option> element.

Example:

 option $ span $ text "foo"

Result:

 <option><span>foo</span></option>

pSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <p> element.

Example:

 p $ span $ text "foo"

Result:

 <p><span>foo</span></p>

paramSource

Arguments

:: Html

Resulting HTML.

Combinator for the <param /> element.

Example:

 param

Result:

 <param />

preSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <pre> element.

Example:

 pre $ span $ text "foo"

Result:

 <pre><span>foo</span></pre>

qSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <q> element.

Example:

 q $ span $ text "foo"

Result:

 <q><span>foo</span></q>

sSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <s> element.

Example:

 s $ span $ text "foo"

Result:

 <s><span>foo</span></s>

sampSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <samp> element.

Example:

 samp $ span $ text "foo"

Result:

 <samp><span>foo</span></samp>

scriptSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <script> element.

Example:

 script $ span $ text "foo"

Result:

 <script><span>foo</span></script>

selectSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <select> element.

Example:

 select $ span $ text "foo"

Result:

 <select><span>foo</span></select>

smallSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <small> element.

Example:

 small $ span $ text "foo"

Result:

 <small><span>foo</span></small>

spanSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <span> element.

Example:

 span $ span $ text "foo"

Result:

 <span><span>foo</span></span>

strongSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <strong> element.

Example:

 strong $ span $ text "foo"

Result:

 <strong><span>foo</span></strong>

styleSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <style> element.

Example:

 style $ span $ text "foo"

Result:

 <style><span>foo</span></style>

subSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <sub> element.

Example:

 sub $ span $ text "foo"

Result:

 <sub><span>foo</span></sub>

supSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <sup> element.

Example:

 sup $ span $ text "foo"

Result:

 <sup><span>foo</span></sup>

tableSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <table> element.

Example:

 table $ span $ text "foo"

Result:

 <table><span>foo</span></table>

tbodySource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <tbody> element.

Example:

 tbody $ span $ text "foo"

Result:

 <tbody><span>foo</span></tbody>

tdSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <td> element.

Example:

 td $ span $ text "foo"

Result:

 <td><span>foo</span></td>

textareaSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <textarea> element.

Example:

 textarea $ span $ text "foo"

Result:

 <textarea><span>foo</span></textarea>

tfootSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <tfoot> element.

Example:

 tfoot $ span $ text "foo"

Result:

 <tfoot><span>foo</span></tfoot>

thSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <th> element.

Example:

 th $ span $ text "foo"

Result:

 <th><span>foo</span></th>

theadSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <thead> element.

Example:

 thead $ span $ text "foo"

Result:

 <thead><span>foo</span></thead>

titleSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <title> element.

Example:

 title $ span $ text "foo"

Result:

 <title><span>foo</span></title>

trSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <tr> element.

Example:

 tr $ span $ text "foo"

Result:

 <tr><span>foo</span></tr>

ttSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <tt> element.

Example:

 tt $ span $ text "foo"

Result:

 <tt><span>foo</span></tt>

uSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <u> element.

Example:

 u $ span $ text "foo"

Result:

 <u><span>foo</span></u>

ulSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <ul> element.

Example:

 ul $ span $ text "foo"

Result:

 <ul><span>foo</span></ul>

varSource

Arguments

:: Html

Inner HTML.

-> Html

Resulting HTML.

Combinator for the <var> element.

Example:

 var $ span $ text "foo"

Result:

 <var><span>foo</span></var>