Create dropdown menu with caret icon
Description
The following code shows how to create dropdown menu with caret icon.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.8.3.js'></script>
<link rel="stylesheet" type="text/css"
href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.1.1/css/bootstrap.min.css">
<script type='text/javascript'
src="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/2.1.1/bootstrap.min.js"></script>
<style type='text/css'>
.btn-toolbar {<!--from w ww. j a v a 2 s . c o m-->
text-align: center;
}
</style>
</head>
<body>
<div class="btn-toolbar">
<div class="btn-group">
<a href="#" class="btn btn-info btn-large active">Home</a>
<a href="#" class="btn btn-info btn-large">Link</a>
<a href="#" class="btn btn-info btn-large dropdown-toggle"
data-toggle="dropdown">
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="#">Linkk1</a></li>
<li><a href="#">Linkk2</a></li>
<li><a href="#">Linkk3</a></li>
</ul>
<a href="#" class="btn btn-info btn-large">Link</a>
</div>
</div>
</body>
</html>