title: Difference between <span> and <div> with text-align:center;?
body: <p>I don't understand this:</p>
  
  <p>I have tried to center the text-align of a HTML <code>&lt;span&gt;</code> tag but it did nothing...
  With the <code>&lt;div&gt;</code> tag, everything worked. Same sittuation with setting <code>margin: 0px auto;</code> in css.</p>
  
  <p>Why does the span tag not support the <code>text-align;</code> function?</p>