alternatives to setAttribute
<p>I've been creating elements in a different way and I'm not sure the best approach.  What is the difference between:</p>

<pre><code>var myselect = document.createElement("select");
myselect.name="blah";
</code></pre>

<p>and </p>

<pre><code>var myselect = document.createElement("select");
myselect.setAttribute("name", "blah"); 
</code></pre>

<p>I just recently got tripped up by using: </p>

<pre><code>var label = document.createElement("label");
label.for= "blah";
</code></pre>

<p>Which doesn't work and I had to use setAttribute.  Are there advantages/disadvantages of one versus another?</p>
