Bootstrap Tabs and PillsBootstrap MenusMenus are used in most of the web pages. These are defined in an unordered list <ul>. You have to add the .list-inline class to <ul> to create a horizontal menu. See this example: Test it NowBootstrap TabsYou can create a basic navigation tag with <ul class="nav nav-tabs">. You can also mark the current page with <li class="active">. The following example specifies how to create a simple navigation tab. See this example: Test it NowBootstrap Tabs with Dropdown MenuYou can also use tabs in a dropdown menu. See this example: Test it NowBootstrap Toggleable / Dynamic TabsAdd the data-toggle="tab" attribute to each link. Then add a .tab-pane class with a unique ID for every tab and wrap them inside a <div> element with class .tab-content, to make tags toggleable. If you want the tabs to fade in and out when clicking on them, add the .fade class to .tab-pane . See this example: Test it NowBootstrap PillsYou can create pills with <ul class="nav nav-pills">. You can also mark the current page with <li class="active">. See this example: Test it NowBootstrap Vertical PillsAdd the .nav-stacked class to display the pills vertically. See this example: Test it NowBootstrap Pills with Dropdown MenuYou can also use dropdown menu with pills. See this example: Test it NowBootstrap Toggleable Dynamic PillsIt is same as toggleable dynamic tabs, the only change is the data-toggle attribute to data-toggle="pill" . See this example: Test it NowBootstrap 4 Tabs/ PillsNav MenusNav menus are navigation menus used in websites. If you want to create a simple horizontal menu in a website, add the .nav class to a <ul> element, followed by .nav-item for each <li> and add the .nav-link class to their links. Example:Test it NowAligned NavBy default nav is aligned to left. For Center Align: Add the .justify-content-center class to center align the nav. For Right Align: Add the .justify-content-end class to right-align the nav. Example:Test it NowVertical NavAdd the .flex-column class to create a vertical nav. ExampleTest it NowJustified Tabs/ PillsFor justified tabs/pills, add the .nav-justified class (equal width): Example:Test it NowNext TopicBootstrap Navbar |