title: What's the different between <div> and <span> if I set display: block or inline to them?
body: <pre><code>&lt;div style="display: inline"&gt;&lt;/div&gt;
  &lt;span&gt;&lt;/span&gt;
  
  &lt;div&gt;&lt;/div&gt;
  &lt;span style="display:block&gt;&lt;/span&gt;
  
  &lt;div style="display: inline-block"&gt;&lt;/div&gt;
  &lt;span style="display: inline-block"&gt;&lt;/span&gt;
  </code></pre>
  
  <p>If I write like this, what's the different between <code>&lt;div&gt;</code> and <code>&lt;span&gt;</code> </p>