Bootstrap可折叠列表组

!DOCTYPE htmlhtmlheadtitleBootstrap Example/titlelink href = /bootstrap/css/bootstrap.min.css rel = stylesheet

编程学习网为您整理以下代码实例,主要实现:Bootstrap可折叠列表组,希望可以帮到各位朋友。

<!DOCTYPE HTML>
<HTML>
   <head>
      <Title>bootstrap Example</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>
      <div class = "container">
         <h2>Questions/ Answers</h2>
         <p>Click below to learn about the technologIEs for which we provIDe IntervIEw Questions.</p>
         <div class="panel-group">
            <div class="panel panel-default">
               <div class="panel-heading">
                  <h4 class="panel-Title">
                     <a data-toggle="collapse" href="#test">Info</a>
                  </h4>
               </div>
               <div ID="test" class="panel-collapse collapse">
                  <ul class="List-group">
                     <li class="List-group-item">Java</li>
                     <li class="List-group-item">PHP</li>
                     <li class="List-group-item">C++</li>
                     <li class="List-group-item">HTML5</li>
                     <li class="List-group-item">jquery</li>
                  </ul>
               </div>
            </div>
         </div>
      </div>
   </body>
</HTML>

本文标题为:Bootstrap可折叠列表组