Pin It
Tweet
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












