title: What is the difference between &nbsp; and space?
body: <p>There are two snippets of HTML code:</p>
  
  <p>1.</p>
  
  <pre><code>&lt;div&gt;&amp;nbsp;&lt;/div&gt;
  </code></pre>
  
  <p>2.</p>
  
  <pre><code>&lt;div&gt; &lt;/div&gt;
  </code></pre>
  
  <p>I run them in Chrome 43.0.2357.130m separately.</p>
  
  <p>The first snippet's <code>div</code> has height(height=18px), but the second doesn't have height(height=0).</p>
  
  <p>I wonder why they have different result.</p>
  
  <p>Thank you:-)!</p>