When I want to write blog that is showing some sample code, I normally use the <code>
element eg.
<pre>
<code>
some code here
some more code
</code>
</pre>
However this does not work if the sample code is html e.g.
<pre>
<code>
<div id="target"></div>
</code>
</pre>
Doing this just produces a blank code block. How do I do this?