Pfft. Straight from the documentation of the method:<p><pre><code>  content
  Type: &gt;&gt;htmlString&lt;&lt; or Element or Array or jQuery
</code></pre>
You could argue that the API is bad for allowing HTML strings as arguments, but it&#x27;s not really surprising that a function does what it is documented to do. Especially since these are <i>DOM manipulation</i>, not string manipulation functions.