title: Center tag works fine, but align attribute doesn't! What may be the issue?
body: <p>I am trying to align a complete page, to the center of a frame, and if I use center tag, it works fine. But, if I use</p>
  
  <pre><code>&lt;body align=center&gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;body style="align:center"&gt;
  </code></pre>
  
  <p>it doesn't align the page, but keep it left-aligned as default. Now, I am a newbie at HTML to be honest, so I don't have much idea, what may be causing this. Also, this happens only in non-IE browsers. IE shows the page center aligned, even without any tags. </p>
  
  <p>Although, it is not of much significance, as I can always use center tag, but its nice to know why align attribute doesn't work. Kindly let me know, if anyone got any idea, as to what is the problem. </p>
  
  <p>Edit:</p>
  
  <p>Turns out, it is because of quirks mode. Thanks David and Town! :D</p>