title: <code> vs <pre> vs <samp> for inline and block code snippets
body: <p>My site is going to have some inline code ("when using the <code>foo()</code> function...") and some block snippets. These tend to be XML, and have very long lines which I prefer the browser to wrap (i.e., I don't want to use <code>&lt;pre&gt;</code>). I'd also like to put CSS formatting on the block snippets.</p>
  
  <p>It seems that I can't use <code>&lt;code&gt;</code> for both, because if I put CSS block attributes on it (with <code>display: block;</code>), it will break the inline snippets.</p>
  
  <p>I'm curious what people do. Use <code>&lt;code&gt;</code> for blocks, and <code>&lt;samp&gt;</code> for inline? Use <code>&lt;code&gt;&lt;blockquote&gt;</code> or something similar?</p>
  
  <p>I'd like to keep the actual HTML as simple as possible, avoiding classes, as other users will be maintaining it.</p>