jQuery Append String vs Object Containing String
<p>I understand that both of these will insert html into an element.</p>

<p>What are the differences between these 2 methods though?</p>

<p>String:</p>

<pre><code>$("div").append("&lt;h1&gt;Header&lt;/h1&gt;");
</code></pre>

<p>Object:</p>

<pre><code>$("div").append($("&lt;h1&gt;Header&lt;/h1&gt;"));
</code></pre>

<p>Is it just that you can do stuff like this?</p>

<pre><code>$("div").append($("&lt;h1&gt;&lt;/h1&gt;").html("Header"));
</code></pre>
