I found an easy way to render code snippets in HTML. It is called the Simple Talk Code Prettifier. In addition to rendering, it also converts SQL keywords to uppercase and gives you proper indentation. Also supports VB. http://www.simple-talk.com/prettifier/default.php
By the way, the Simple Talk blog http://www.simple-talk.com is pretty cool. My puny effort here pales by comparison.