blaze-html-0.4.1.3: A blazingly fast HTML combinator library.Source codeContentsIndex
Text.Blaze.Html5
Description
This module exports HTML combinators used to create documents.
Synopsis
module Text.Blaze
docType :: Html
docTypeHtml :: Html -> Html
a :: Html -> Html
abbr :: Html -> Html
address :: Html -> Html
area :: Html
article :: Html -> Html
aside :: Html -> Html
audio :: Html -> Html
b :: Html -> Html
base :: Html -> Html
bdo :: Html -> Html
blockquote :: Html -> Html
body :: Html -> Html
br :: Html
button :: Html -> Html
canvas :: Html -> Html
caption :: Html -> Html
cite :: Html -> Html
code :: Html -> Html
col :: Html
colgroup :: Html -> Html
command :: Html -> Html
datalist :: Html -> Html
dd :: Html -> Html
del :: Html -> Html
details :: Html -> Html
dfn :: Html -> Html
div :: Html -> Html
dl :: Html -> Html
dt :: Html -> Html
em :: Html -> Html
embed :: Html
fieldset :: Html -> Html
figcaption :: Html -> Html
figure :: Html -> Html
footer :: Html -> Html
form :: Html -> Html
h1 :: Html -> Html
h2 :: Html -> Html
h3 :: Html -> Html
h4 :: Html -> Html
h5 :: Html -> Html
h6 :: Html -> Html
head :: Html -> Html
header :: Html -> Html
hgroup :: Html -> Html
hr :: Html
html :: Html -> Html
i :: Html -> Html
iframe :: Html -> Html
img :: Html
input :: Html
ins :: Html -> Html
kbd :: Html -> Html
keygen :: Html -> Html
label :: Html -> Html
legend :: Html -> Html
li :: Html -> Html
link :: Html
map :: Html -> Html
mark :: Html -> Html
menu :: Html -> Html
meta :: Html
meter :: Html -> Html
nav :: Html -> Html
noscript :: Html -> Html
object :: Html -> Html
ol :: Html -> Html
optgroup :: Html -> Html
option :: Html -> Html
output :: Html -> Html
p :: Html -> Html
param :: Html
pre :: Html -> Html
progress :: Html -> Html
q :: Html -> Html
rp :: Html -> Html
rt :: Html -> Html
ruby :: Html -> Html
samp :: Html -> Html
script :: Html -> Html
section :: Html -> Html
select :: Html -> Html
small :: Html -> Html
source :: Html -> Html
span :: Html -> Html
strong :: Html -> Html
style :: Html -> Html
sub :: Html -> Html
summary :: Html -> Html
sup :: Html -> Html
table :: Html -> Html
tbody :: Html -> Html
td :: Html -> Html
textarea :: Html -> Html
tfoot :: Html -> Html
th :: Html -> Html
thead :: Html -> Html
time :: Html -> Html
title :: Html -> Html
tr :: Html -> Html
ul :: Html -> Html
var :: Html -> Html
video :: Html -> Html
Documentation
module Text.Blaze
docTypeSource
:: HtmlThe document type HTML.

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

Example:

 docType

Result:

 <!DOCTYPE HTML>
docTypeHtmlSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

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

Example:

 docTypeHtml $ span $ text "foo"

Result:

 <!DOCTYPE HTML>
 <html><span>foo</span></html>
aSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <a> element.

Example:

 a $ span $ text "foo"

Result:

 <a><span>foo</span></a>
abbrSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <abbr> element.

Example:

 abbr $ span $ text "foo"

Result:

 <abbr><span>foo</span></abbr>
addressSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <address> element.

Example:

 address $ span $ text "foo"

Result:

 <address><span>foo</span></address>
areaSource
:: HtmlResulting HTML.

Combinator for the <area /> element.

Example:

 area

Result:

 <area />
articleSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <article> element.

Example:

 article $ span $ text "foo"

Result:

 <article><span>foo</span></article>
asideSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <aside> element.

Example:

 aside $ span $ text "foo"

Result:

 <aside><span>foo</span></aside>
audioSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <audio> element.

Example:

 audio $ span $ text "foo"

Result:

 <audio><span>foo</span></audio>
bSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <b> element.

Example:

 b $ span $ text "foo"

Result:

 <b><span>foo</span></b>
baseSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <base> element.

Example:

 base $ span $ text "foo"

Result:

 <base><span>foo</span></base>
bdoSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <bdo> element.

Example:

 bdo $ span $ text "foo"

Result:

 <bdo><span>foo</span></bdo>
blockquoteSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <blockquote> element.

Example:

 blockquote $ span $ text "foo"

Result:

 <blockquote><span>foo</span></blockquote>
bodySource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <body> element.

Example:

 body $ span $ text "foo"

Result:

 <body><span>foo</span></body>
brSource
:: HtmlResulting HTML.

Combinator for the <br /> element.

Example:

 br

Result:

 <br />
buttonSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <button> element.

Example:

 button $ span $ text "foo"

Result:

 <button><span>foo</span></button>
canvasSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <canvas> element.

Example:

 canvas $ span $ text "foo"

Result:

 <canvas><span>foo</span></canvas>
captionSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <caption> element.

Example:

 caption $ span $ text "foo"

Result:

 <caption><span>foo</span></caption>
citeSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <cite> element.

Example:

 cite $ span $ text "foo"

Result:

 <cite><span>foo</span></cite>
codeSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <code> element.

Example:

 code $ span $ text "foo"

Result:

 <code><span>foo</span></code>
colSource
:: HtmlResulting HTML.

Combinator for the <col /> element.

Example:

 col

Result:

 <col />
colgroupSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <colgroup> element.

Example:

 colgroup $ span $ text "foo"

Result:

 <colgroup><span>foo</span></colgroup>
commandSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <command> element.

Example:

 command $ span $ text "foo"

Result:

 <command><span>foo</span></command>
datalistSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <datalist> element.

Example:

 datalist $ span $ text "foo"

Result:

 <datalist><span>foo</span></datalist>
ddSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <dd> element.

Example:

 dd $ span $ text "foo"

Result:

 <dd><span>foo</span></dd>
delSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <del> element.

Example:

 del $ span $ text "foo"

Result:

 <del><span>foo</span></del>
detailsSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <details> element.

Example:

 details $ span $ text "foo"

Result:

 <details><span>foo</span></details>
dfnSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <dfn> element.

Example:

 dfn $ span $ text "foo"

Result:

 <dfn><span>foo</span></dfn>
divSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <div> element.

Example:

 div $ span $ text "foo"

Result:

 <div><span>foo</span></div>
dlSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <dl> element.

Example:

 dl $ span $ text "foo"

Result:

 <dl><span>foo</span></dl>
dtSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <dt> element.

Example:

 dt $ span $ text "foo"

Result:

 <dt><span>foo</span></dt>
emSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <em> element.

Example:

 em $ span $ text "foo"

Result:

 <em><span>foo</span></em>
embedSource
:: HtmlResulting HTML.

Combinator for the <embed /> element.

Example:

 embed

Result:

 <embed />
fieldsetSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <fieldset> element.

Example:

 fieldset $ span $ text "foo"

Result:

 <fieldset><span>foo</span></fieldset>
figcaptionSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <figcaption> element.

Example:

 figcaption $ span $ text "foo"

Result:

 <figcaption><span>foo</span></figcaption>
figureSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <figure> element.

Example:

 figure $ span $ text "foo"

Result:

 <figure><span>foo</span></figure>
footerSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <footer> element.

Example:

 footer $ span $ text "foo"

Result:

 <footer><span>foo</span></footer>
formSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <form> element.

Example:

 form $ span $ text "foo"

Result:

 <form><span>foo</span></form>
h1Source
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <h1> element.

Example:

 h1 $ span $ text "foo"

Result:

 <h1><span>foo</span></h1>
h2Source
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <h2> element.

Example:

 h2 $ span $ text "foo"

Result:

 <h2><span>foo</span></h2>
h3Source
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <h3> element.

Example:

 h3 $ span $ text "foo"

Result:

 <h3><span>foo</span></h3>
h4Source
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <h4> element.

Example:

 h4 $ span $ text "foo"

Result:

 <h4><span>foo</span></h4>
h5Source
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <h5> element.

Example:

 h5 $ span $ text "foo"

Result:

 <h5><span>foo</span></h5>
h6Source
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <h6> element.

Example:

 h6 $ span $ text "foo"

Result:

 <h6><span>foo</span></h6>
headSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <head> element.

Example:

 head $ span $ text "foo"

Result:

 <head><span>foo</span></head>
headerSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <header> element.

Example:

 header $ span $ text "foo"

Result:

 <header><span>foo</span></header>
hgroupSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <hgroup> element.

Example:

 hgroup $ span $ text "foo"

Result:

 <hgroup><span>foo</span></hgroup>
hrSource
:: HtmlResulting HTML.

Combinator for the <hr /> element.

Example:

 hr

Result:

 <hr />
htmlSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <html> element.

Example:

 html $ span $ text "foo"

Result:

 <html><span>foo</span></html>
iSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <i> element.

Example:

 i $ span $ text "foo"

Result:

 <i><span>foo</span></i>
iframeSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <iframe> element.

Example:

 iframe $ span $ text "foo"

Result:

 <iframe><span>foo</span></iframe>
imgSource
:: HtmlResulting HTML.

Combinator for the <img /> element.

Example:

 img

Result:

 <img />
inputSource
:: HtmlResulting HTML.

Combinator for the <input /> element.

Example:

 input

Result:

 <input />
insSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <ins> element.

Example:

 ins $ span $ text "foo"

Result:

 <ins><span>foo</span></ins>
kbdSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <kbd> element.

Example:

 kbd $ span $ text "foo"

Result:

 <kbd><span>foo</span></kbd>
keygenSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <keygen> element.

Example:

 keygen $ span $ text "foo"

Result:

 <keygen><span>foo</span></keygen>
labelSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <label> element.

Example:

 label $ span $ text "foo"

Result:

 <label><span>foo</span></label>
legendSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <legend> element.

Example:

 legend $ span $ text "foo"

Result:

 <legend><span>foo</span></legend>
liSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <li> element.

Example:

 li $ span $ text "foo"

Result:

 <li><span>foo</span></li>
linkSource
:: HtmlResulting HTML.

Combinator for the <link /> element.

Example:

 link

Result:

 <link />
mapSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <map> element.

Example:

 map $ span $ text "foo"

Result:

 <map><span>foo</span></map>
markSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <mark> element.

Example:

 mark $ span $ text "foo"

Result:

 <mark><span>foo</span></mark>
menuSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <menu> element.

Example:

 menu $ span $ text "foo"

Result:

 <menu><span>foo</span></menu>
metaSource
:: HtmlResulting HTML.

Combinator for the <meta /> element.

Example:

 meta

Result:

 <meta />
meterSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <meter> element.

Example:

 meter $ span $ text "foo"

Result:

 <meter><span>foo</span></meter>
navSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <nav> element.

Example:

 nav $ span $ text "foo"

Result:

 <nav><span>foo</span></nav>
noscriptSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <noscript> element.

Example:

 noscript $ span $ text "foo"

Result:

 <noscript><span>foo</span></noscript>
objectSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <object> element.

Example:

 object $ span $ text "foo"

Result:

 <object><span>foo</span></object>
olSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <ol> element.

Example:

 ol $ span $ text "foo"

Result:

 <ol><span>foo</span></ol>
optgroupSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <optgroup> element.

Example:

 optgroup $ span $ text "foo"

Result:

 <optgroup><span>foo</span></optgroup>
optionSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <option> element.

Example:

 option $ span $ text "foo"

Result:

 <option><span>foo</span></option>
outputSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <output> element.

Example:

 output $ span $ text "foo"

Result:

 <output><span>foo</span></output>
pSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <p> element.

Example:

 p $ span $ text "foo"

Result:

 <p><span>foo</span></p>
paramSource
:: HtmlResulting HTML.

Combinator for the <param /> element.

Example:

 param

Result:

 <param />
preSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <pre> element.

Example:

 pre $ span $ text "foo"

Result:

 <pre><span>foo</span></pre>
progressSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <progress> element.

Example:

 progress $ span $ text "foo"

Result:

 <progress><span>foo</span></progress>
qSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <q> element.

Example:

 q $ span $ text "foo"

Result:

 <q><span>foo</span></q>
rpSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <rp> element.

Example:

 rp $ span $ text "foo"

Result:

 <rp><span>foo</span></rp>
rtSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <rt> element.

Example:

 rt $ span $ text "foo"

Result:

 <rt><span>foo</span></rt>
rubySource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <ruby> element.

Example:

 ruby $ span $ text "foo"

Result:

 <ruby><span>foo</span></ruby>
sampSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <samp> element.

Example:

 samp $ span $ text "foo"

Result:

 <samp><span>foo</span></samp>
scriptSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <script> element.

Example:

 script $ span $ text "foo"

Result:

 <script><span>foo</span></script>
sectionSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <section> element.

Example:

 section $ span $ text "foo"

Result:

 <section><span>foo</span></section>
selectSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <select> element.

Example:

 select $ span $ text "foo"

Result:

 <select><span>foo</span></select>
smallSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <small> element.

Example:

 small $ span $ text "foo"

Result:

 <small><span>foo</span></small>
sourceSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <source> element.

Example:

 source $ span $ text "foo"

Result:

 <source><span>foo</span></source>
spanSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <span> element.

Example:

 span $ span $ text "foo"

Result:

 <span><span>foo</span></span>
strongSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <strong> element.

Example:

 strong $ span $ text "foo"

Result:

 <strong><span>foo</span></strong>
styleSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <style> element.

Example:

 style $ span $ text "foo"

Result:

 <style><span>foo</span></style>
subSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <sub> element.

Example:

 sub $ span $ text "foo"

Result:

 <sub><span>foo</span></sub>
summarySource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <summary> element.

Example:

 summary $ span $ text "foo"

Result:

 <summary><span>foo</span></summary>
supSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <sup> element.

Example:

 sup $ span $ text "foo"

Result:

 <sup><span>foo</span></sup>
tableSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <table> element.

Example:

 table $ span $ text "foo"

Result:

 <table><span>foo</span></table>
tbodySource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <tbody> element.

Example:

 tbody $ span $ text "foo"

Result:

 <tbody><span>foo</span></tbody>
tdSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <td> element.

Example:

 td $ span $ text "foo"

Result:

 <td><span>foo</span></td>
textareaSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <textarea> element.

Example:

 textarea $ span $ text "foo"

Result:

 <textarea><span>foo</span></textarea>
tfootSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <tfoot> element.

Example:

 tfoot $ span $ text "foo"

Result:

 <tfoot><span>foo</span></tfoot>
thSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <th> element.

Example:

 th $ span $ text "foo"

Result:

 <th><span>foo</span></th>
theadSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <thead> element.

Example:

 thead $ span $ text "foo"

Result:

 <thead><span>foo</span></thead>
timeSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <time> element.

Example:

 time $ span $ text "foo"

Result:

 <time><span>foo</span></time>
titleSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <title> element.

Example:

 title $ span $ text "foo"

Result:

 <title><span>foo</span></title>
trSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <tr> element.

Example:

 tr $ span $ text "foo"

Result:

 <tr><span>foo</span></tr>
ulSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <ul> element.

Example:

 ul $ span $ text "foo"

Result:

 <ul><span>foo</span></ul>
varSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <var> element.

Example:

 var $ span $ text "foo"

Result:

 <var><span>foo</span></var>
videoSource
:: HtmlInner HTML.
-> HtmlResulting HTML.

Combinator for the <video> element.

Example:

 video $ span $ text "foo"

Result:

 <video><span>foo</span></video>
Produced by Haddock version 2.6.1