HI there,

I want to put some code in to my web pages content. I mean i want to display some code in amongst a paragraph of text.

Ive never done it before and searched it in google and found the xmp tag, which works but has caused 8 errors on validation against my strict dtd.

Any ideas how i can do this in a valid way?

Code:
<p class="geek"><xmp><geeky rant begins></xmp></p>
Thanks