还是打开新页面怎么办
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>close</title>
<script type="text/javascript">
var mywin=window.open("http://www.imooc.com");
mywin.close;
</script>
</head>
<body>
<!-- <input type="button" name="11" onclick="mywin" value="点击我关闭网页"> -->
</body>
</html>