title: place html in javascript strings?
body: <p>I need to place html in a javascript string.  Specifically, I would like to add an HTML link to a div tag with javascript.</p>
  <p>html:</p>
  <pre class="lang-html prettyprint-override"><code>&lt;div id=&quot;mydivtag&quot;&gt;&lt;/div&gt;
  </code></pre>
  <p>javascript:</p>
  <pre class="lang-js prettyprint-override"><code>document.getElementById('mydivtag').innerHTML = &quot;&lt;li&gt;&lt;a href=\&quot;someLink\&quot;&gt;Some Link&lt;/a&gt;&lt;/li&gt; &quot;;
  </code></pre>
  <p>Am I formatting the html link I am adding through javascript correctly?</p>