Guide to creating a web site, web design, web development, internet marketing, promotion, html tips and tricks, javascript and more.

Your Guide to Professional
Web Site Design and Development

HTML Codes
Web Development
Web Design Tips
JavaScript Codes
216 Web Safe Colors
CSS Tutorial
JavaScript Tutorial
ASCII Character Codes

Offering Free Javascript Tips, Snippets and Codes

Open Directory Projectfree ebooksfree articles
web site design development internet marketing and promotion tutorials

| Web Site Development | HTML Codes | HTML Tips | Web Design TipsJavascript Snippets | 216 Safe Colors | Symbols | CSS Tutorial | JavaScript Tutorial |

webmaster resources
website design

Close a window with a button

If you're looking for a JavaScript code that will enable you to close a window with a button, this JavaScript code may be your answer.

This JavaScript code provides a great way for your visitors to close a window simply by clicking on a button. This is a great way to enable your visitors to close a tips window, instructions window or whatever you'd like.

In addition to using this code within your web pages, you can also use it within your HTML ebooks, as long as your software supports JavaScript.

Place this code within your HTML code where you would like the button to appear:

<form method="post">
<input type="button" value="Close Window"

Submit your JavaScript code snippets. We'll credit you and give you a link to your website.