<html>
<head>
<title>初识Bootstrap</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
</head>
<body> <form class="form-inline" role="form">
<div class="form-group">
<label for="f1">账号</label>
<input type="text" id="f1" class="form-control" placeholder="请输入账号"/>
</div>
<div class="form-group">
<label for="f2">密码</label>
<input type="password" id="f2" class="form-control" placeholder="请输入密码"/>
</div>
<div class="form-group">
<label for="f3" class="sr-only">邮箱</label>
<input type="email" class="form-control" id="f3" placeholder="请输入邮箱"/>
</div>
<div class="form-group">
<label for="f4" class="sr-only">邮箱秘密</label>
<input type="password" id="f4" placeholder="请输入邮箱密码" class="form-control"/>
</div>
<div class="checkbox">
<label>
<input type="checkbox"/>记住密码
</label>
</div>
<button type="submit" class="btn btn-danger">进入</button>
</form> <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
</body>
</html>