In speculating on reasons behind the preference, my best guess is HTML. It seems more natural&#x2F;idiomatic to write:<p><pre><code>    var el = $(&#x27;&lt;a href=&quot;&#x2F;&quot; class=&quot;link&quot;&gt;Link&lt;&#x2F;a&gt;&#x27;);
</code></pre>
rather than<p><pre><code>    var el = $(&quot;&lt;a href=&#x27;&#x2F;&#x27; class=&#x27;link&#x27;&gt;Link&lt;&#x2F;a&gt;&quot;);
</code></pre>
let alone<p><pre><code>    var el = $(&quot;&lt;a href=\&quot;&#x2F;\&quot; class=\&quot;link\&quot;&gt;Link&lt;&#x2F;a&gt;&quot;);</code></pre>