title: How to add HTML tag into JavaScript?
body: <p>I want to make use of one html tag into my javascript but don't know how to make use of that. </p>
  
  <p>For ex: <code>&lt;p&gt;An absolute URL: &lt;a href="https://www.w3schools.com"&gt;W3Schools&lt;/a&gt;&lt;/p&gt;</code></p>
  
  <p>This is my tag. I want to store this into some variable so I can make use of that later in my function. But I don't how to store it. On way I got to store like </p>
  
  <pre><code>var htm = { html : &lt;p&gt;An absolute URL: &lt;a href="https://www.w3schools.com"&gt;W3Schools&lt;/a&gt;&lt;/p&gt;}
  </code></pre>
  
  <p>But again this is an object I can not use the perticular anchor tag. Can anybody please suggest how to deal with it. How to store html tags in JavaScript variable or any solutions.</p>