Free2Host
About Free Web Hosting

Print this Page Button HTML code

Labels:
Sometimes the visitor needed to print our articles automatically just by clicking the link only.



here this the HTML code.
<!-- Print Page Script
Use this script to have your
users print your HTML page
-->
<SCRIPT LANGUAGE="JavaScript">
if (window.print) {
document.write('<form> '
+ '<input type=button name=print value="Click" '
+ 'onClick="javascript:window.print()"> To Print this page!</form>');
}
// End -->
</script>
Now you can put the html code into your page.
Bookmark and Share
Related Post


0 comments:

Post a Comment