`

Bootstrap单选按钮

 
阅读更多
radio-finish.html
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>单选按钮</title>
<link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
<!--[if lt IE 9]>
      <script src="../bootstrap/js/html5.js"></script>
<![endif]-->
</head>

<body>
<div class="container">
  <h1 class="page-header">单选按钮</h1>
  <label>您的性别</label>
  <label class="radio"><input type="radio" name="gender" value="male">男</label>
  <label class="radio"><input type="radio" name="gender" value="female">女</label>
  <label class="radio"><input type="radio" name="gender" value="other">其他</label>
</div>
<script src="../bootstrap/js/jquery-1.7.2.min.js"></script> 
<script src="../bootstrap/js/bootstrap.js"></script>
</body>
</html>
分享到:
评论
Global site tag (gtag.js) - Google Analytics