& lt; !DOCTYPE html>
& lt; html>
& lt; head>
& lt;元charset=皍tf-8"在
& lt; title>引导按钮组& lt;/title>
& lt;链接rel=皊tylesheet"https://www.yisu.com/zixun/href=" http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css ">
& lt;/head>
& lt; body>
& lt; div类=癱ontainer"在
& lt; div类=癰tn-group"在
& lt;按钮类=癰tn btn-default"祝辞Button1
& lt;按钮类=癰tn btn-default"祝辞Button2
& lt; div类=癰tn-group"在
& lt;按钮类=癰tn btn-default dropdown-toggle"data-toggle=癲ropdown"祝辞
下拉
& lt;跨类=癱aret"祝辞& lt;/span>
& lt;/button>
& lt; ul类=癲ropdown-menu"在
,,,,& lt; li> & lt; https://www.yisu.com/zixun/a href=" # ">下拉链接1 > 李>
,,,,& lt; li> & lt; https://www.yisu.com/zixun/a href=" # ">下拉链接2 > 李>
,,& lt;/ul>
& lt;/div>
& lt;/div>
& lt;/div>
,,https://www.yisu.com/zixun/& lt;脚本src=" http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js "> 脚本>
,https://www.yisu.com/zixun/& lt;脚本src=" http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js "> 脚本>
& lt;/body>
& lt;/html>