How will you create a tabbed navigation menu?



How will you create a tabbed navigation menu?..

Answer / Ankush Goel

To create a tabbed navigation menu in Bootstrap, you can use the `.nav` and `.nav-tabs` classes along with the `.tab-content` class for content containers. Here's an example:

```html
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link active" data-toggle="tab" href="#home">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#menu1">Menu 1</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#menu2">Menu 2</a>
</li>
</ul>
<div class="tab-content">
<div id="home" class="tab-pane active">...</div>
<div id="menu1" class="tab-pane">...</div>
<div id="menu2" class="tab-pane">...</div>
</div>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Bootstrap Interview Questions

How will you create a stacked progress bar using bootstrap?

1 Answers  


Tell me what are bootstrap media queries?

1 Answers  


Explain me how will you create a bootstrap dismissal alert?

1 Answers  


When bootstrap 4 release date?

1 Answers  


Does bootstrap reset css?

1 Answers  


Explain what is the use of Bootstrap Carousel plugin?

1 Answers  


What is the current major version of bootstrap?

1 Answers  


Which class is used to draw a toolbar of buttons?

1 Answers  


What is bootstrap 4 navs?

1 Answers  


Explain the basic structure of bootstrap framework?

1 Answers  


Why bootstrap is preferred for website development.

1 Answers  


How to use modal popup in bootstrap?

1 Answers  


Categories