jquery $('<div>') vs $('<div />')
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/9675487/element-vs-element-in-jquery">$(&#39;&lt;element&gt;&#39;) vs $(&#39;&lt;element /&gt;&#39;) in jQuery</a>  </p>
</blockquote>



<p>Which one of these two are the correct way to do it:</p>

<pre><code>$('&lt;div&gt;') 
</code></pre>

<p>or </p>

<pre><code>$('&lt;div /&gt;')
</code></pre>

<p>They both seem to work. Is one way more right than the other, or do they both always work?</p>
