So that the code snippet is colored.
How?
Not sure what SO uses, but Pygments is considered the best code highlighter by many.
Google Code's Prettify