Using Bootstrap nav-tabs class



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>
Updated on: 2020-06-12T16:24:21+05:30

221 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements