title: How do I hide an element when printing a web page?
body: <p>I have a link on my webpage to print the webpage. However, the link is also visible in the printout itself.</p>
  
  <p>Is there javascript or HTML code which would hide the link button when I click the print link?</p>
  
  <p>Example:</p>
  
  <pre class="lang-none prettyprint-override"><code> "Good Evening"
   Print (click Here To Print)
  </code></pre>
  
  <p>I want to hide this "Print" label when it prints the text "Good Evening". The "Print" label should not show on the printout itself.</p>