How do I make this HTML Print Screen code a simple button instead of text?

jhunter picture jhunter · Mar 10, 2015 · Viewed 9.7k times · Source
<a title="Print Screen" alt="Print Screen" onclick="window.print();"    target="_blank" style="cursor:pointer;">CLICK HERE TO PRINT FORM!</a>

Used on this page http://www.healthlightus.com/repair-claims-forms.html

Answer

Rod picture Rod · Mar 10, 2015

use the button tag :

<button onclick="window.print();">CLICK HERE TO PRINT FORM!</button>