Display code in the browser

September 23rd, 2008 Posted in Programming

Use &lt; instead of “<” and &gt; instead of “>”.

Or if you’re pasting code into a WYSIWYG editor, just paste into the design view and not the source view. It should automatically convert the characters for you.

Post a Comment