一个小东西

<!DOCTYPE html>
<html>
  <head>
    <title>选择新窗口.html</title>
 
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
  <script>
   function open1(){
    window.open("新窗口1.html","","width=250,height=150");//这个很重要。
   }
  </script>
  </head>
 
  <body>
    <form action="表单提交成功页面.html">
     <table>
      <tr>
       <td>用户名</td>
       <td><input type="text" id="td1"/></td>
       <!-- <td><span id = "sp1"></span></td> -->
      </tr>
      <tr>
       <td>登录密码</td>
       <td><input type="text" id="td2"/></td>
       <!-- <td><span id = "sp2"></span></td> -->
      </tr>
      <tr>
       <td><input type = "button" value="选择" onclick= "open1()"/></td>
       <td><input type="submit" value="确认"/></td>
      </tr>
     </table>
    </form>
  </body>
</html>

你可能感兴趣的:(window)