title: display a value in div in html using text property dynamically
body: <p>i have a value 
      var head=comments;</p>
  
  <p>comments is a string
  So can i use something like </p>
  
  <pre><code>var hoverText='text=comments';
  &lt;div "+hoverText+"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>To display the string in the div</p>