Markup

Looking at just the dropdown menu, here's the required HTML. You need to wrap the dropdown's trigger and the dropdown menu within .dropdown, or another element that declares position: relative;. Then just create the menu.

<divclass="dropdown">

<!-- Link or button to toggle dropdown -->

<ulclass="dropdown-menu"role="menu"aria-labelledby="dLabel">

<li><atabindex="-1"href="#">Action</a></li>

<li><atabindex="-1"href="#">Another action</a></li>

<li><atabindex="-1"href="#">Something else here</a></li>

<liclass="divider"></li>

<li><atabindex="-1"href="#">Separated link</a></li>

</ul>

</div>

Options

Align menus to the right and add include additional levels of dropdowns.