1<ul class="nav nav-tabs" id="myTab" role="tablist">
2 <li class="nav-item" role="presentation">
3 <button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#home" type="button" role="tab" aria-controls="home" aria-selected="true">Home</button>
4 </li>
5 <li class="nav-item" role="presentation">
6 <button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#profile" type="button" role="tab" aria-controls="profile" aria-selected="false">Profile</button>
7 </li>
8 <li class="nav-item" role="presentation">
9 <button class="nav-link" id="contact-tab" data-bs-toggle="tab" data-bs-target="#contact" type="button" role="tab" aria-controls="contact" aria-selected="false">Contact</button>
10 </li>
11</ul>
12<div class="tab-content" id="myTabContent">
13 <div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">...</div>
14 <div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">...</div>
15 <div class="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">...</div>
16</div>
17
1<ul class="nav nav-tabs" id="myTab" role="tablist">
2 <li class="nav-item">
3 <a class="nav-link active" id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true">Home</a>
4 </li>
5 <li class="nav-item">
6 <a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="false">Profile</a>
7 </li>
8 <li class="nav-item">
9 <a class="nav-link" id="contact-tab" data-toggle="tab" href="#contact" role="tab" aria-controls="contact" aria-selected="false">Contact</a>
10 </li>
11</ul>
12<div class="tab-content" id="myTabContent">
13 <div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">...</div>
14 <div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">...</div>
15 <div class="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">...</div>
16</div>
1<div class="container">
2 <h3>Default Bootstrap 3 Pills Example</h3>
3
4 <!-- `nav-pills` class attribute of a `ul` HTML element below -->
5
6 <ul class="nav nav-pills">
7 <li class="active"><a href="http://www.tutorialmines.net">Home</a></li>
8 <li><a href="http://www.tutorialmines.net/bootstrap-3-tutorial/">Bootstrap 3</a></li>
9 <li><a href="http://www.tutorialmines.net/php-5-string-functions/">PHP 5</a></li>
10 <li><a href="http://www.tutorialmines.net/responsive-web-design-tutorial/">RWD</a></li>
11 </ul>
12</div>