Using Bootstrap nav-tabs class

BootstrapWeb DevelopmentCSS Framework

Use the nav-tabs Bootstrap class to create a tabbed navigation menu. You can try to run the following code to create tabbed navigation menu:

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <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>
   </head>
   <body>
      <p>Course Structure</p>
      <ul class = "nav nav-tabs">
         <li class = "active"><a href = "#">Java</a></li>
         <li><a href = "#">WordPress</a></li>
         <li><a href = "#">JavaScript</a></li>
         <li><a href = "#">AngularJS</a></li>
      </ul>
   </body>
</html>
raja
Published on 20-Jun-2018 08:29:30
Advertisements