how to give print button in html code example Example: print button html onclick="window.print();return false;