Edit This Code:
See Result »
<
!DOCTYPE
html
>
<
html
>
<
head
>
<
script
>
function
printPage() {
window.print();
}
<
/script
>
<
/head
>
<
body
>
<
input
type
="button"
value
="Print this page"
onclick
="printPage()"
/
>
<
/body
>
<
/html
>
<!DOCTYPE html> <html> <head> <script> function printPage() { window.print(); } </script> </head> <body> <input type="button" value="Print this page" onclick="printPage()" /> </body> </html>
Result:
Privacy Policy