Welcome to collectivesolver - Programming & Software Q&A. A website you can trust. I check, compile and run every program. Contact me at: aviboots(AT)netvision.net.il

Hostgator - Save 50% Off Your New Optimized WordPress Hosting With Coupon: WDA50

BlueHost Web Hosting

Top Destination Deals !

Dedicated Hosting Superb Internet

simplilearn big data and analytics

Second Opinion Radiology

Buy Cool Shirts

getflywheel wordpress hosting


Distribute your Resume to 500+ Job Boards & Recruiters


6,118 questions

8,646 answers

573 users

How to create dropdown button with Bootstrap

Blue Host Web Hosting


4 views
asked Jul 13 by avibootz (468,280 points)

1 Answer

0 votes
<!DOCTYPE html>
<html lang="en">
<head>
  <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.2.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>Bootstrap Dropdown Button</h2>
<div class="btn-group">
    <button type="button" class="btn btn-primary">Programming</button>
    <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
      <span class="caret"></span>
    </button>
    <ul class="dropdown-menu" role="menu">
      <li><a href="#">C</a></li>
      <li><a href="#">C++</a></li>
    </ul>
  </div>
</div>
 
</body>
</html>

 




answered Jul 13 by avibootz (468,280 points)
...