<h3>Basic HTML inclusion</h3>
<p>Happstack is completely agnostic as to the source of the HTML served.
There is no required templating system. We'll be looking at a few simple ways to include HTML in your application: </p>
<ul>
<li>HtmlString</li>
<li>Text.Html</li>
<li>HStringTemplate</li>
</ul>
<h4>HtmlString</h4>
<p>We've already seen the use of HtmlString, from the happstack-helpers package,
in the <a href="/src/ControllerBasic.hs">ControllerBasic.hs</a> file.
You can include your HTML as String literals wrapped with a HtmlString constructor
and the ToMessage instance for HtmlString will take care of the rest.</p>
<h4>Text.Html</h4>
<p>I won't be providing a tutorial on using <a href="http://www.haskell.org/ghc/docs/latest/html/libraries/html/Text-Html.html">Text.Html</a>, but I want to point
out that there is a ToMessage instance for Html. This means that anything built
from the combinators included in Text.Html will display correctly.
</p>
<h4>HStringTemplate</h4>
<p>Lets move on to the <a href="/tutorial/templates-dont-repeat-yourself">next</a> couple of chapters, which will cover the use HStringTemplate in some depth.</p>