How to Create a Print Button on a Web Pageby Louise Balle
A "Print" button on your Web page enables your visitors to quickly print the contents of the page. When the button is pressed, the browser's print dialog pops up. Then all the user has to do is choose his printer from the list, change the properties if he desires and click "OK" to print the Web page.
Open the file that contains the HTML code for your Web page in a plain text or HTML editor.
Go to thesection of your HTML code. Find the exact point in your page where you want to insert your print button. Ideally, it should be at either the very top or bottom of the page. Type to create a blank paragraph to create space between the previous line and the button.
Type in a break tag -- -- to go to the next line and write a short line underneath the "Print" button to describe why the user should press the button. For example, you could type "Click here to print this page." You can also add this line before the print button if you want to.
Save the HTML file and upload it to your website. Click the "Print" button to test it out.
- photo_camera Jack Hollingsworth/Photodisc/Getty Images