How To Create Print Button For HTML Website

I would like to create a print button for my website, so the user can print my current web page

You can use the js method to trigger the print feature of the browser. Here is the example to explain how to create a print button

<input type="button" value="print" onClick="window.print()">
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments