p package:blaze-html

Combinator for the <p> element. Example:
p $ span $ toHtml "foo"
Result:
<p><span>foo</span></p>
Combinator for the <param /> element. Example:
param
Result:
<param />
Combinator for the <pre> element. Example:
pre $ span $ toHtml "foo"
Result:
<pre><span>foo</span></pre>
Combinator for the profile attribute. Example:
div ! profile "bar" $ "Hello."
Result:
<div profile="bar">Hello.</div>
Combinator for the <picture> element. Example:
picture $ span $ toHtml "foo"
Result:
<picture><span>foo</span></picture>
Combinator for the <progress> element. Example:
progress $ span $ toHtml "foo"
Result:
<progress><span>foo</span></progress>
Combinator for the ping attribute. Example:
div ! ping "bar" $ "Hello."
Result:
<div ping="bar">Hello.</div>
Combinator for the placeholder attribute. Example:
div ! placeholder "bar" $ "Hello."
Result:
<div placeholder="bar">Hello.</div>
Combinator for the poster attribute. Example:
div ! poster "bar" $ "Hello."
Result:
<div poster="bar">Hello.</div>
Combinator for the preload attribute. Example:
div ! preload "bar" $ "Hello."
Result:
<div preload="bar">Hello.</div>
Combinator for the property attribute. Example:
div ! property "bar" $ "Hello."
Result:
<div property="bar">Hello.</div>
Combinator for the pubdate attribute. Example:
div ! pubdate "bar" $ "Hello."
Result:
<div pubdate="bar">Hello.</div>
Combinator for the <applet> element. Example:
applet $ span $ toHtml "foo"
Result:
<applet><span>foo</span></applet>
Combinator for the <caption> element. Example:
caption $ span $ toHtml "foo"
Result:
<caption><span>foo</span></caption>
Combinator for the <colgroup> element. Example:
colgroup $ span $ toHtml "foo"
Result:
<colgroup><span>foo</span></colgroup>
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 FrameSet//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
Combinator for the <html> element. This combinator will also insert the correct doctype. Example:
docTypeHtml $ span $ toHtml "foo"
Result:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 FrameSet//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html><span>foo</span></html>
Combinator for the <input /> element. Example:
input
Result:
<input />
Combinator for the <map> element. Example:
map $ span $ toHtml "foo"
Result:
<map><span>foo</span></map>
Combinator for the <noscript> element. Example:
noscript $ span $ toHtml "foo"
Result:
<noscript><span>foo</span></noscript>
Combinator for the <optgroup> element. Example:
optgroup $ span $ toHtml "foo"
Result:
<optgroup><span>foo</span></optgroup>
Combinator for the <option> element. Example:
option $ span $ toHtml "foo"
Result:
<option><span>foo</span></option>
Combinator for the <samp> element. Example:
samp $ span $ toHtml "foo"
Result:
<samp><span>foo</span></samp>