Bootstrap Navigation BarA navigation bar is like a navigation header that is placed at the top of the page. You can collapse or extend it according to the screen size. You can create a standard navigation bar at the top of the page with with . See this example: Bootstrap Inverted Navigation BarInverted navigation bar provides an alternative black navbar. It can be used to style the default navigation bar by changing .navbar-default class into .navbar-inverse class . See this example: Bootstrap Navigation Bar with DropdownYou can also add dropdown menu with navigation bars. The following example adds a dropdown menu for the "page 1" button. See this example: Bootstrap Right-Aligned Navigation BarUse the .navbar-right class to right-align navigation bar buttons. In the following example, we add "Sign Up"and "Log in" button to the right in the navigation bar. See this example: Basic NavbarIn Bootstrap 4, you can extend or collapse a navigation bar depending on the screen size. A standard navigation bar is created with the .navbar class, followed by a responsive collapsing class: .navbar-expand-xl|lg|md|sm (stacks the navbar vertically on extra-large, large, medium or small screens). To add links inside the navbar, use a
|