How do I display code on a web page?
The links below provide some additional resources for displaying page code including some automatic conversion utilities that will make short work of the conversion process.
Displaying HTML Source Code in Web Pages
Display Markup with the Text Munger
How to display HTML code in your web pages
How To Display PHP Code In A Web-page