title: Creating HTML Content In a Variable in Javascript
body: <p>I have a javascript variable I need to create like this:</p>
  
  <pre><code>var HTMLContent = '&lt;div class="className"&gt;HTML Content&lt;/div&gt;';
  </code></pre>
  
  <p>How can I format it in an easier to read format because I'm going to want to create multiple lines of HTML.</p>
  
  <p>e.g.</p>
  
  <pre><code>var HTMLContent = '
  &lt;div class="className"&gt;
    HTML Content
  &lt;/div&gt;
  ';
  </code></pre>
  
  <p>Is something like that possible?</p>
  
  <p>It would also be good if I could import via URL e.g. var HTMLContent = 'http://domain.com/page.html';</p>