This module exports HTML combinators used to create documents.
- module Text.Blaze
- html :: Html a -> Html b
- docType :: Html a
- a :: Html a -> Html b
- abbr :: Html a -> Html b
- acronym :: Html a -> Html b
- address :: Html a -> Html b
- area :: Html a
- b :: Html a -> Html b
- bdo :: Html a -> Html b
- big :: Html a -> Html b
- blockquote :: Html a -> Html b
- body :: Html a -> Html b
- br :: Html a
- button :: Html a -> Html b
- caption :: Html a -> Html b
- cite :: Html a -> Html b
- code :: Html a -> Html b
- col :: Html a
- colgroup :: Html a -> Html b
- dd :: Html a -> Html b
- del :: Html a -> Html b
- dfn :: Html a -> Html b
- div :: Html a -> Html b
- dl :: Html a -> Html b
- dt :: Html a -> Html b
- em :: Html a -> Html b
- fieldset :: Html a -> Html b
- form :: Html a -> Html b
- h1 :: Html a -> Html b
- h2 :: Html a -> Html b
- h3 :: Html a -> Html b
- h4 :: Html a -> Html b
- h5 :: Html a -> Html b
- h6 :: Html a -> Html b
- head :: Html a -> Html b
- hr :: Html a
- htmlNoDocType :: Html a -> Html b
- i :: Html a -> Html b
- img :: Html a
- input :: Html a
- ins :: Html a -> Html b
- kbd :: Html a -> Html b
- label :: Html a -> Html b
- legend :: Html a -> Html b
- li :: Html a -> Html b
- link :: Html a
- map :: Html a -> Html b
- meta :: Html a
- noscript :: Html a -> Html b
- object :: Html a -> Html b
- ol :: Html a -> Html b
- optgroup :: Html a -> Html b
- option :: Html a -> Html b
- p :: Html a -> Html b
- param :: Html a
- pre :: Html a -> Html b
- q :: Html a -> Html b
- samp :: Html a -> Html b
- script :: Html a -> Html b
- select :: Html a -> Html b
- small :: Html a -> Html b
- span :: Html a -> Html b
- strong :: Html a -> Html b
- style :: Html a -> Html b
- sub :: Html a -> Html b
- sup :: Html a -> Html b
- table :: Html a -> Html b
- tbody :: Html a -> Html b
- td :: Html a -> Html b
- textarea :: Html a -> Html b
- tfoot :: Html a -> Html b
- th :: Html a -> Html b
- thead :: Html a -> Html b
- title :: Html a -> Html b
- tr :: Html a -> Html b
- tt :: Html a -> Html b
- ul :: Html a -> Html b
- var :: Html a -> Html b
Documentation
module Text.Blaze
Combinator for the <html>
element. This combinator will also
insert the correct doctype.
Example:
html $ span $ text "foo"
Result:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><span>foo</span></html>
:: Html a | 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 HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Combinator for the <a>
element.
Example:
a $ span $ text "foo"
Result:
<a><span>foo</span></a>
Combinator for the <abbr>
element.
Example:
abbr $ span $ text "foo"
Result:
<abbr><span>foo</span></abbr>
Combinator for the <acronym>
element.
Example:
acronym $ span $ text "foo"
Result:
<acronym><span>foo</span></acronym>
Combinator for the <address>
element.
Example:
address $ span $ text "foo"
Result:
<address><span>foo</span></address>
Combinator for the <b>
element.
Example:
b $ span $ text "foo"
Result:
<b><span>foo</span></b>
Combinator for the <bdo>
element.
Example:
bdo $ span $ text "foo"
Result:
<bdo><span>foo</span></bdo>
Combinator for the <big>
element.
Example:
big $ span $ text "foo"
Result:
<big><span>foo</span></big>
Combinator for the <blockquote>
element.
Example:
blockquote $ span $ text "foo"
Result:
<blockquote><span>foo</span></blockquote>
Combinator for the <body>
element.
Example:
body $ span $ text "foo"
Result:
<body><span>foo</span></body>
Combinator for the <button>
element.
Example:
button $ span $ text "foo"
Result:
<button><span>foo</span></button>
Combinator for the <caption>
element.
Example:
caption $ span $ text "foo"
Result:
<caption><span>foo</span></caption>
Combinator for the <cite>
element.
Example:
cite $ span $ text "foo"
Result:
<cite><span>foo</span></cite>
Combinator for the <code>
element.
Example:
code $ span $ text "foo"
Result:
<code><span>foo</span></code>
Combinator for the <colgroup>
element.
Example:
colgroup $ span $ text "foo"
Result:
<colgroup><span>foo</span></colgroup>
Combinator for the <dd>
element.
Example:
dd $ span $ text "foo"
Result:
<dd><span>foo</span></dd>
Combinator for the <del>
element.
Example:
del $ span $ text "foo"
Result:
<del><span>foo</span></del>
Combinator for the <dfn>
element.
Example:
dfn $ span $ text "foo"
Result:
<dfn><span>foo</span></dfn>
Combinator for the <div>
element.
Example:
div $ span $ text "foo"
Result:
<div><span>foo</span></div>
Combinator for the <dl>
element.
Example:
dl $ span $ text "foo"
Result:
<dl><span>foo</span></dl>
Combinator for the <dt>
element.
Example:
dt $ span $ text "foo"
Result:
<dt><span>foo</span></dt>
Combinator for the <em>
element.
Example:
em $ span $ text "foo"
Result:
<em><span>foo</span></em>
Combinator for the <fieldset>
element.
Example:
fieldset $ span $ text "foo"
Result:
<fieldset><span>foo</span></fieldset>
Combinator for the <form>
element.
Example:
form $ span $ text "foo"
Result:
<form><span>foo</span></form>
Combinator for the <h1>
element.
Example:
h1 $ span $ text "foo"
Result:
<h1><span>foo</span></h1>
Combinator for the <h2>
element.
Example:
h2 $ span $ text "foo"
Result:
<h2><span>foo</span></h2>
Combinator for the <h3>
element.
Example:
h3 $ span $ text "foo"
Result:
<h3><span>foo</span></h3>
Combinator for the <h4>
element.
Example:
h4 $ span $ text "foo"
Result:
<h4><span>foo</span></h4>
Combinator for the <h5>
element.
Example:
h5 $ span $ text "foo"
Result:
<h5><span>foo</span></h5>
Combinator for the <h6>
element.
Example:
h6 $ span $ text "foo"
Result:
<h6><span>foo</span></h6>
Combinator for the <head>
element.
Example:
head $ span $ text "foo"
Result:
<head><span>foo</span></head>
Combinator for the <html>
element.
Example:
htmlNoDocType $ span $ text "foo"
Result:
<html><span>foo</span></html>
Combinator for the <i>
element.
Example:
i $ span $ text "foo"
Result:
<i><span>foo</span></i>
:: Html a | Resulting HTML. |
Combinator for the <input>
element.
Example:
input
Result:
<input>
Combinator for the <ins>
element.
Example:
ins $ span $ text "foo"
Result:
<ins><span>foo</span></ins>
Combinator for the <kbd>
element.
Example:
kbd $ span $ text "foo"
Result:
<kbd><span>foo</span></kbd>
Combinator for the <label>
element.
Example:
label $ span $ text "foo"
Result:
<label><span>foo</span></label>
Combinator for the <legend>
element.
Example:
legend $ span $ text "foo"
Result:
<legend><span>foo</span></legend>
Combinator for the <li>
element.
Example:
li $ span $ text "foo"
Result:
<li><span>foo</span></li>
Combinator for the <map>
element.
Example:
map $ span $ text "foo"
Result:
<map><span>foo</span></map>
Combinator for the <noscript>
element.
Example:
noscript $ span $ text "foo"
Result:
<noscript><span>foo</span></noscript>
Combinator for the <object>
element.
Example:
object $ span $ text "foo"
Result:
<object><span>foo</span></object>
Combinator for the <ol>
element.
Example:
ol $ span $ text "foo"
Result:
<ol><span>foo</span></ol>
Combinator for the <optgroup>
element.
Example:
optgroup $ span $ text "foo"
Result:
<optgroup><span>foo</span></optgroup>
Combinator for the <option>
element.
Example:
option $ span $ text "foo"
Result:
<option><span>foo</span></option>
Combinator for the <p>
element.
Example:
p $ span $ text "foo"
Result:
<p><span>foo</span></p>
:: Html a | Resulting HTML. |
Combinator for the <param>
element.
Example:
param
Result:
<param>
Combinator for the <pre>
element.
Example:
pre $ span $ text "foo"
Result:
<pre><span>foo</span></pre>
Combinator for the <q>
element.
Example:
q $ span $ text "foo"
Result:
<q><span>foo</span></q>
Combinator for the <samp>
element.
Example:
samp $ span $ text "foo"
Result:
<samp><span>foo</span></samp>
Combinator for the <script>
element.
Example:
script $ span $ text "foo"
Result:
<script><span>foo</span></script>
Combinator for the <select>
element.
Example:
select $ span $ text "foo"
Result:
<select><span>foo</span></select>
Combinator for the <small>
element.
Example:
small $ span $ text "foo"
Result:
<small><span>foo</span></small>
Combinator for the <span>
element.
Example:
span $ span $ text "foo"
Result:
<span><span>foo</span></span>
Combinator for the <strong>
element.
Example:
strong $ span $ text "foo"
Result:
<strong><span>foo</span></strong>
Combinator for the <style>
element.
Example:
style $ span $ text "foo"
Result:
<style><span>foo</span></style>
Combinator for the <sub>
element.
Example:
sub $ span $ text "foo"
Result:
<sub><span>foo</span></sub>
Combinator for the <sup>
element.
Example:
sup $ span $ text "foo"
Result:
<sup><span>foo</span></sup>
Combinator for the <table>
element.
Example:
table $ span $ text "foo"
Result:
<table><span>foo</span></table>
Combinator for the <tbody>
element.
Example:
tbody $ span $ text "foo"
Result:
<tbody><span>foo</span></tbody>
Combinator for the <td>
element.
Example:
td $ span $ text "foo"
Result:
<td><span>foo</span></td>
Combinator for the <textarea>
element.
Example:
textarea $ span $ text "foo"
Result:
<textarea><span>foo</span></textarea>
Combinator for the <tfoot>
element.
Example:
tfoot $ span $ text "foo"
Result:
<tfoot><span>foo</span></tfoot>
Combinator for the <th>
element.
Example:
th $ span $ text "foo"
Result:
<th><span>foo</span></th>
Combinator for the <thead>
element.
Example:
thead $ span $ text "foo"
Result:
<thead><span>foo</span></thead>
Combinator for the <title>
element.
Example:
title $ span $ text "foo"
Result:
<title><span>foo</span></title>
Combinator for the <tr>
element.
Example:
tr $ span $ text "foo"
Result:
<tr><span>foo</span></tr>
Combinator for the <tt>
element.
Example:
tt $ span $ text "foo"
Result:
<tt><span>foo</span></tt>
Combinator for the <ul>
element.
Example:
ul $ span $ text "foo"
Result:
<ul><span>foo</span></ul>