CODE is used for snippets of code which appear inside a paragraph of text.
It is usually rendered in a monospaced font. For larger blocks of code, use PRE instead. If what you are marking up is what a user should type in, use KBD . CODE will usually be rendered in a monospaced font, but multiple spaces are collapsed, unlike in PRE . This can screw up the spacing in your code if you want to provide more than one line.