欢迎来到DIVCSS5查找CSS资料与学习DIV CSS布局技术!
  代码:
 
  
 
  <!DOCTYPEhtml>
 
  <html>
 
  <head>
 
  <metacharset="UTF-8">
 
  <title>Document</title>
 
  </head>
 
  <body>
 
  <scripttype="text/javascript">
 
  functionshut(){
 
  window.opener=null;
 
  window.open('','_self');
 
  window.close();
 
  }
 
  </script>
 
  </head>
 
  <body>
 
  <br><br><br>
 
  <center><inputtype="button"name="Submit2"value="关闭窗口"title="关闭窗口"onclick="shut()"/>
 
  </center>
 
  </body>
 
  </html>







本文转载自中文网
 

如需转载,请注明文章出处和来源网址:http://www.divcss5.com/html/h55033.shtml