title: element.setAttribute('style', 'attribute :value;') vs. element.attribute = 'value'
body: <p>In javascript is there any difference between using </p>
  
  <pre><code>element.style.setAttribute('width', '150px');
  </code></pre>
  
  <p>and</p>
  
  <pre><code>element.style.width = '150px';
  </code></pre>
  
  <p>? </p>
  
  <p>I have seen that keywords won't work with the first way (like <a href="http://www.quirksmode.org/bugreports/archives/2005/03/setAttribute_does_not_work_in_IE_when_used_with_th.html" rel="noreferrer">this</a>), but for non-keyword attributes is there a difference?</p>