关于表单的注册页面(作业)

<!DOCTYPE html>
<head>
<style type="text/css">
.divForm{
         position: absolute;
         padding-top: 230px;
         padding-left: 580px;
         }
img{
  position: absolute;
  padding-left:250px;
  padding-top:0px;
 }
   
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>注册登录</title>
</head>
<body>
<img src="images/5H.png" width="800" height="640">
<div class="divForm">
  <form>
  <p>用户名&ensp; <input type="text" size="21"></p>
  <p>&emsp;&ensp; <input type="password" size="21"></p>
  <p>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<input type="button" value="登录">
  <input type="button" onclick="location.href='file:///C:/Users/CaineWood/Desktop/网页/注册页面.html'"value="注册" />
  </form>
  </div>
</body>
</html>
 
<!DOCTYPE html>
<head>
<style type="text/css">
.divForm{
         position: absolute;
         padding-top: 180px;
         padding-left: 580px;
         }
img{
  position: absolute;
  padding-left:150px;
  padding-top:0px;
 }
   
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>注册登录</title>
</head>
<body>
<img src="images/5H.png" width="280" height="264">
<div class="divForm">
  <form action="file:///C:/Users/CaineWood/Desktop/%E7%BD%91%E9%A1%B5/%E7%99%BB%E5%BD%95%E6%B3%A8%E5%86%8C.html" method="post">
  <p>新用户名&ensp; <input type="text" maxlength="8"></p>
  <p>&emsp;&emsp;&ensp; <input type="password" minlength="6"maxlength="15">&emsp;<font size="1" color="#606060">&nbsp;请输入6-15个字符</font></p>
  <p>确认密码&nbsp;&nbsp;&nbsp;<input type="password"></p>
  <p>&emsp;&emsp;&ensp;&nbsp;<input type="text"></p>
  <p>身份证号&nbsp;&ensp;<input type="text"></p>
  <p>绑定手机&nbsp;&nbsp;&nbsp;<input type="text"></p>
  <p>绑定邮箱&nbsp;&nbsp;&nbsp;<input type="text">
  <select name="name" id="1">
         <option value="1">.com</option>
         <option value="2">.cn</option>
  </select></p>
&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<input type="submit" value="注册">
  </form>
  </div>
</body>
</html>
 
原文地址:https://www.cnblogs.com/5H5H/p/9656403.html