Bootstrap单选按钮

!DOCTYPE htmlhtmlheadtitleTry v1.2 Bootstrap Online/titlelink href=/bootstrap/css/bootstrap.min.css rel=stylesheet

编程学习网为您整理以下代码实例,主要实现:Bootstrap单选按钮,希望可以帮到各位朋友。

<!DOCTYPE HTML>
<HTML>
<head>
   <@R_301_5979@>Try v1.2 bootstrap Online</@R_301_5979@>
   <link href="/bootstrap/CSS/bootstrap.min.CSS" rel="stylesheet">
   <script src="/scripts/jquery.min.Js"></script>
   <script src="/bootstrap/Js/bootstrap.min.Js"></script>
</head>
<body>

<div class = "btn-group" data-toggle = "buttons">
   <label class = "btn btn-primary">
      <input type = "radio" name =" options" ID = "option1"> Option 1
   </label>

   <label class = "btn btn-primary">
      <input type = "radio" name = "options" ID = "option2"> Option 2
   </label>

   <label class = "btn btn-primary">
      <input type = "radio" name = "options" ID = "option3"> Option 3
   </label>
</div>    

</body>
</HTML>
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐