简单的注册表

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title></title>
  <style type="text/css">
  div{
    width:300px;
   /* height:300px;*/
    border-style: double;
   
    background-color: darkgray;
  }
  .box1{
   padding: 20px 0 0 30px;
    width:300px;
    margin: 30px 0 0 40px;
   
  }
  .text1{
   font-size: 20px;
   color:red ;
   
  }
  .text2{
   border-style: double;
   border-width: 4px;
   border-color: black;
  }
 
  </style>
</head>
<body>
  <div class = "box1">
  <form>
   <p><span class = "text1">Username:</span><input class = "text2" type="text" name="fname" placeholder="数字/字母/电话号码" /></p>
   <p><span class = "text1">Password:</span><input class = "text2" type="text" name="lname" placeholder="数字和字母" /></p>
  <p>
   男性:
 <input type="radio" checked="checked" name="Sex" value="male" />
  </p>
  <p>
   女性:
 <input type="radio" name="Sex" value="female" />
  </p>
  <button>注册</button>
</form>
</div>
</body>
</html>
posted @ 2018-09-17 23:27  理想的现实主义者  阅读(147)  评论(0编辑  收藏  举报