JS – BOM – Browser Object Model – Window Open

Method: window.open()

<!DOCTYPE html>
<html>
<head>
</head>

<body>

<!-- Use a form to open window -->
<form>
<input type=button value="Close Window" onClick="javascript:window.open();">
</form> 

<!-- Use a link to open window -->
<a href="javascript:window.open();">Click to Close Window</a>

</body>

</html>

My official WebSite >