I am just learning the basics of XHTML and am attempting to use the tag code and pre to display snippets or blocks of code respectively. How do i then show a working example of the code e.g.
<p>Code Sample</p>
<code>
#p1 {font-family: Arial;}
</code>
How do I then display a working example of the code below it?