title: What is the difference between jQuery: text() and html() ?
body: <p>What the difference between text() and html() functions in jQuery ?</p>
  
  <pre><code>$("#div").html('&lt;a href="example.html"&gt;Link&lt;/a&gt;&lt;b&gt;hello&lt;/b&gt;');
  </code></pre>
  
  <p>vs</p>
  
  <pre><code>$("#div").text('&lt;a href="example.html"&gt;Link&lt;/a&gt;&lt;b&gt;hello&lt;/b&gt;');
  </code></pre>