Create a tabbed navigation menu with Bootstrap

BootstrapWeb DevelopmentCSS Framework

To create a tabbed navigation menu, start with a basic unordered list with the base class of .nav and add class .nav-tabs.

You can try to run the following code to create a tabbed navigation menu


Live Demo

<!DOCTYPE html>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
      <p>My Website</p>
      <ul class = "nav nav-tabs">
         <li class = "active"><a href = "#">Home</a></li>
         <li><a href = "#">About</a></li>
         <li><a href = "#">Products</a></li>
         <li><a href = "#">Contact Us</a></li>
Updated on 12-Jun-2020 16:29:37