<input type="button" value="Print this page" onClick="window.print()"> Or <button type="button" class="print" onClick="window.print()">Print</button>