1 // Creating multi-line string
2 var str = `<div class="content">
3 <h1>This is a heading</h1>
4 <p>This is a paragraph of text.</p>
5 </div>`;
6
7 // Printing the string
8 document.write(str);