Bootstrap选择表单控件

Bootstrap选择表单控件 - !DOCTYPE htmlhtmlheadtitleTry v1.2 Bootstrap Online/title

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

bootstrap选择表单控件 -

<!DOCTYPE HTML>
<HTML>
<head>
   <Title>Try v1.2 bootstrap Online</Title>
   <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>

<form role = "form">

   <div class = "form-group">
      <label for = "name">Select List</label>

      <select class = "form-control">
         <option>1</option>
         <option>2</option>
         <option>3</option>
         <option>4</option>
         <option>5</option>
      </select>

      <label for = "name">Mutiple Select List</label>

      <select multiple class = "form-control">
         <option>1</option>
         <option>2</option>
         <option>3</option>
         <option>4</option>
         <option>5</option>
      </select>

   </div>

</form>

</body>
</HTML>

本文标题为:Bootstrap选择表单控件

基础教程推荐