title: How to clear pre tag in html
body: <p>Im using PRE tag of HTML and I need on click to clear the content of it,
  I've tried the following without success.</p>
  
  <pre><code>$('#display').clear;
  $('#display').val("");
  </code></pre>
  
  <p>In the index html I use it like this</p>
  
  <pre><code>&lt;pre id="display"&gt;&lt;/pre&gt;
  </code></pre>