adding a print button html code example Example: print button html onclick="window.print();return false;