Store Locator:   All Locations

Pin It

What HTML code can be use to close a browser window?

Question

How do I close a browser window with HTML code?

Answer

This question was answered on March 14, 2005. Much of the information contained herein may have changed since posting.

Type the following code to close the browser window:

<input type="button" value="Close this window" onclick="self.close()">

Author

Posted by Kera of Katharine Gibbs School - New York on March 14, 2005

Enter your zip code

Newsletter

Sign up for our weekly newsletter and get free tips and tricks to keep your computer running well.

:

See the Newsletter Archives


Listen to the Radio Program

The Latest Show - Facebook Goes Public, Google Gets Smarter & More






In the Press