<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
input[type='radio'],
input[type='checkbox'],
label {
cursor: pointer
}
</style>
</head>
<body>
<form action="地址" methed="post">
学号:
<input type="text" name="user" placeholder="请输入用户名" />
<br />
密码:<input type="text" name="pwd" placeholder="请输入密码" password="键盘" />
<br />
性别:
<input type="radio" name="sex" id="sex1" value="男" checked><label for="sex1">男</label />
<input type="radio" name="sex" id="sex2" value="女"><label for="sex2">女</label />
<br />
电话:<input type="text" name="phone" placeholder="请输入电话号码" />
<br />
邮箱:<input type="text" name="email" placeholder="请输入注册邮箱" />
<br />
出生年月:<input type="text" name="birth" />
<br />
爱好:
<input type="checkbox" name="like" id="like1" value="篮球"><label for="like1">篮球</label />
<input type="checkbox" name="like" id="like2" value="足球"><label for="like2">足球</label />
<input type="checkbox" name="like" id="like3" value="羽毛球"><label for="like3">羽毛球</label />
<br />
<input type="submit" value="提交" />
<input type="reset" value="重置" />
</form>
</body>
</html>
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>登录</title>
<link href="css/bootstrap.min.css" rel="stylesheet"></head><body><nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="./">jsp作业</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="login.html">登录</a></li>
</ul>
</div>
</div></nav><div class="container">
<div class="row">
<div class="col-md-4">
</div>
<div class="col-md-4">
<form class="form-signin" target="submitFrame" method="post">
<h2 class="form-signin-heading">登录到jsp作业</h2>
<label for="inputEmail">Email</label>
<input type="email" id="inputEmail" class="form-control" placeholder="请输入Email" required autofocus><br>
<label for="inputPassword">密码</label>
<input type="password" id="inputPassword" class="form-control" placeholder="请输入密码" required>
<div class="checkbox">
<label>
<input type="checkbox" value="remember-me" checked="checked">记住密码</label>
</div>
<button type="submit" class="btn btn-primary" id="btn-login">登录</button>
<a href="reg.html" class="btn btn-default">注册</a>
</form>
<iframe style="display: none" name="submitFrame" src="about:blank"></iframe>
</div>
<div class="col-md-4">
</div>
</div>
<script src="js/jquery.min.js"></script></body></html>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)