Edit This Code:
<!DOCTYPE html>
<html>
<head>
<script>
function openWin() {
    window.open("http://www.w3schools.com");
}
</script>
</head>

<body>
<form>
<input type="button" value="Open Window" onclick="openWin()">
</form>
</body>

</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy