encode your html entities:
< … <
> … >
& … &
" … "
(' … ' xml, not html. see comments)
you might also want to use
<pre><code>
here comes your preformatted and escaped <html>-code
</code></pre>
to have your code monospaced and preserve whitespaces