Prev Demo
Dropdown Menu In Active State And Disable State
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> </head> <body> <h2> Dropdown with active and disable state</h2> <div class="container"> <div class="dropdown"> <button class="btn btn-warning dropdown-toggle" type="button" data-toggle="dropdown"> Tutorials <span class="caret"></span> </button> <ul class="dropdown-menu"> <li class="dropdown-header">heading 1</li> <li class="disabled"><a href="#">HTML</a></li> <li class="active"><a href="#">CSS</a></li> <li><a href="#">JavaScript</a></li> <li class="divider"></li> <li class="dropdown-header">Heading 2</li> <li><a href="#">About Us</a></li> </ul> </div> </div> </body> </html>
Note: We DO NOT save your trial code in our database.
Output