BOOTSTRAP 3 表格
BOOTSTRAP 3 图片
BOOTSTRAP 3 警告
BOOTSTRAP 3 按钮
BOOTSTRAP 3 Glyphicons
BOOTSTRAP 3 徽章
BOOTSTRAP 3 进度条
BOOTSTRAP 3 分页
BOOTSTRAP 3 面板
BOOTSTRAP 3 下拉菜单
BOOTSTRAP 3 标签页
BOOTSTRAP 3 导航栏

Menu
×
×
正确

练习:

添加所需的类和属性来创建一个下拉列表。

<div class="dropdown"> <button data-toggle="dropdown" class="btn btn-primary dropdown-toggle"> Dropdown Example <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">HTML</a></li> <li><a href="#">CSS</a></li> <li><a href="#">JavaScript</a></li> </ul> </div>
<div class="dropdown"> <button data-toggle='dropdown' class="btn btn-primary dropdown-toggle"> Dropdown Example <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">HTML</a></li> <li><a href="#">CSS</a></li> <li><a href="#">JavaScript</a></li> </ul> </div>
<div class="dropdown"> <button DATA-TOGGLE="dropdown" class="btn btn-primary dropdown-toggle"> Dropdown Example <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">HTML</a></li> <li><a href="#">CSS</a></li> <li><a href="#">JavaScript</a></li> </ul> </div>
<div class="dropdown"> <button DATA-TOGGLE='dropdown' class="btn btn-primary dropdown-toggle"> Dropdown Example <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">HTML</a></li> <li><a href="#">CSS</a></li> <li><a href="#">JavaScript</a></li> </ul> </div>

不正确

点击 此处 重试

正确

下一题 ❯
<div class="">
  <button 
  class="btn btn-primary ">
  Dropdown Example
  <span class="caret"></span></button>
  <ul class="">
    <li><a href="#">HTML</a></li>
    <li><a href="#">CSS</a></li>
    <li><a href="#">JavaScript</a></li>
  </ul>
</div>







×

重置分数?