I'd like to put a code snippet in a post - preferably in a monospaced font, indented, and maybe in a box with a different background.

I've run across

Quote (can't figure out how to get the bracketed tags to display here)
tags in posts. Is there some tag for code snippets? What other tags are there?