title: When functionalities of html attributes and css styles overlap
body: <p>1) If inside CSS file we specify the following style:</p>
  
  <pre><code>td
  { text-align:center; }
  </code></pre>
  
  <p>While in a Html file we have </p>
  
  <pre><code>&lt;td align=”right” … &gt;
  </code></pre>
  
  <p>then value set in CSS file will take precedence over an inline html attribute and thus elements contained inside <code>&lt;td&gt;</code> cell will be aligned to the center. </p>
  
  <p>a) Is same true for all html attributes? Meaning if a CSS rule and an html attribute  functionalities overlap , will the CSS rule always take precedence? </p>
  
  <p>BTW – I know we should usually prefer using CSS rules vs html attributes</p>
  
  <p>thanx</p>