Bootstrap小输入字段

!DOCTYPE htmlhtml lang=enheadtitleBootstrap Example/title

编程学习网为您整理以下代码实例,主要实现:Bootstrap小输入字段,希望可以帮到各位朋友。

<!DOCTYPE HTML>
<HTML lang="en">
   <head>
      <Title>bootstrap Example</Title>
      <Meta charset = "utf-8">
      <Meta name = "vIEwport" content = "wIDth=device-wIDth, initial-scale = 1">
      <link rel = "stylesheet" href = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/CSS/bootstrap.min.CSS">
      <script src = "https://AJAX.GoogleAPIs.com/AJAX/libs/jquery/3.3.1/jquery.min.Js"></script>
      <script src = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/Js/bootstrap.min.Js"></script>
   </head>
   <body>
      <div class = "container">
         <h2>CandIDate Profile</h2>
         <form>
            <div class="form-group">
               <label for="sel2">What is your job profile?</label>
               <select class="form-control input-lg" ID="sel2">
                  <option>Programmer</option>
                  <option>Web Developer</option>
                  <option>DBA</option>
                  <option>Support Engineer</option>
               </select>
            </div>
            <div class="form-group">
               <label for="sel3">Educational Qualification</label>
               <select class="form-control input-sm" ID="sel3">
                  <option>Undergraduate</option>
                  <option>Graduate</option>
                  <option>Post-Graduate</option>
               </select>
            </div>
         </form>
      </div>
   </body>
</HTML>

本文标题为:Bootstrap小输入字段

基础教程推荐