注册表单代码

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>兴趣</title>
    <style type="text/css">
    </style>
    <link href="网页.css.text" rel="stylesheet" type="text/css">
</head>
<body>
  <div class="shadowbox">
    <p> <div id="兴趣">
        <h1>兴趣</h1>  
        <form method="post">
            <input type="text" required="required" placeholder="用户名" name="u"></input>
            <input type="password" required="required" placeholder="密码" name="p"></input>
            <input type="reset " value="重置" name="reset"/>
            <button class="but" type="submit">登录</button>
            男:<input type="radio" name="gender" value="F"/>
            女:<input type="radio" name="gender" value="M"/>
            篮球:<input type="checkbox" name="hobby" value="1" />
            游泳:<input type="checkbox" name="hobby" value="2" />
            阅读:<input type="checkbox" name="hobby" value="3" />
            唱歌:<input type="checkbox" name="hobby" value="4" />
          </p>
          <div/>
        </form>
    </div>
</body>
</html>

 

posted @ 2018-09-06 20:46  低调小王子  阅读(334)  评论(0编辑  收藏  举报