title: Why should I use a container div in HTML?
body: <p>I have noticed a common technique is to place a generic container <em>div</em> in the root of the <em>body</em> tag:</p>
  <pre><code>&lt;html&gt;
    &lt;head&gt;
      ...
    &lt;/head&gt;
    &lt;body&gt;
      &lt;div id=&quot;container&quot;&gt;
        ...
      &lt;/div&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>Is there a valid reason for doing this? Why can't the CSS just reference the <em>body</em> tag?</p>