print html page on button click code example Example: print button html onclick="window.print();return false;