One of the 25 questions in this topic
<code> is used for short inline code fragments. <pre> is used for code blocks that must preserve spacing and line breaks.