title: Render HTML element in browser
body: <p>I have a variable in javascript which is defined like</p>
  
  <pre><code>var tip = "&lt;p style="color:red;"&gt;This is tip&lt;/p&gt;";
  </code></pre>
  
  <p>I am assigning this tip into a <code>&lt;div&gt;</code> element of my page. But that div is displaying text same as above. I want this to come in red color and with other styles which I add to this later.</p>