http://www.kixtart.org/ubbthreads/faq.php?Cat=#html

use

[code]

...formated code goes here....

[/code]