Skip to content

Instantly share code, notes, and snippets.

@jinformatique
Forked from AbhishekGhosh/HTML5-Print.html
Last active December 20, 2017 16:24
Show Gist options
  • Save jinformatique/a87c6d71baef229c25649446a88c2057 to your computer and use it in GitHub Desktop.
Save jinformatique/a87c6d71baef229c25649446a88c2057 to your computer and use it in GitHub Desktop.

Revisions

  1. J'informatique revised this gist Dec 20, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion HTML5-Print.html
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    <button onclick="javascript:window.print()">Print This Webpage</button>
    <button onclick="javascript:window.print();return false;">Print This Webpage</button>
  2. @AbhishekGhosh AbhishekGhosh created this gist Jul 5, 2013.
    1 change: 1 addition & 0 deletions HTML5-Print.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    <button onclick="javascript:window.print()">Print This Webpage</button>