1<div>
2
3 <!-- Nav tabs -->
4 <ul class="nav nav-tabs" role="tablist">
5 <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a></li>
6 <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">Profile</a></li>
7 <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li>
8 <li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a></li>
9 </ul>
10
11 <!-- Tab panes -->
12 <div class="tab-content">
13 <div role="tabpanel" class="tab-pane active" id="home">...</div>
14 <div role="tabpanel" class="tab-pane" id="profile">...</div>
15 <div role="tabpanel" class="tab-pane" id="messages">...</div>
16 <div role="tabpanel" class="tab-pane" id="settings">...</div>
17 </div>
18
19</div>
1<!-- RH: this is bootstrap 5 tabbed panel -->
2<ul class="nav nav-tabs" id="myTab" role="tablist">
3 <li class="nav-item" role="presentation">
4 <a class="nav-link active" id="home-tab" data-bs-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true">Home</a>
5 </li>
6 <li class="nav-item" role="presentation">
7 <a class="nav-link" id="profile-tab" data-bs-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="false">Profile</a>
8 </li>
9 <li class="nav-item" role="presentation">
10 <a class="nav-link" id="contact-tab" data-bs-toggle="tab" href="#contact" role="tab" aria-controls="contact" aria-selected="false">Contact</a>
11 </li>
12</ul>
13<div class="tab-content" id="myTabContent">
14 <div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">...</div>
15 <div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">...</div>
16 <div class="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">...</div>
17</div>
18
1<nav>
2 <div class="nav nav-tabs" id="nav-tab" role="tablist">
3 <button class="nav-link active" id="nav-home-tab" data-bs-toggle="tab" data-bs-target="#nav-home" type="button" role="tab" aria-controls="nav-home" aria-selected="true">Home</button>
4 <button class="nav-link" id="nav-profile-tab" data-bs-toggle="tab" data-bs-target="#nav-profile" type="button" role="tab" aria-controls="nav-profile" aria-selected="false">Profile</button>
5 <button class="nav-link" id="nav-contact-tab" data-bs-toggle="tab" data-bs-target="#nav-contact" type="button" role="tab" aria-controls="nav-contact" aria-selected="false">Contact</button>
6 </div>
7</nav>
8<div class="tab-content" id="nav-tabContent">
9 <div class="tab-pane fade show active" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab">...</div>
10 <div class="tab-pane fade" id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab">...</div>
11 <div class="tab-pane fade" id="nav-contact" role="tabpanel" aria-labelledby="nav-contact-tab">...</div>
12</div>
13
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<!-- SM: this is bootstrap 4 tabbed panel -->
2
3<ul class="nav nav-tabs" id="myTab" role="tablist">
4 <li class="nav-item">
5 <a class="nav-link active" id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true">Home</a>
6 </li>
7 <li class="nav-item">
8 <a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="false">Profile</a>
9 </li>
10 <li class="nav-item">
11 <a class="nav-link" id="contact-tab" data-toggle="tab" href="#contact" role="tab" aria-controls="contact" aria-selected="false">Contact</a>
12 </li>
13</ul>
14<div class="tab-content" id="myTabContent">
15 <div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">...</div>
16 <div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">...</div>
17 <div class="tab-pane fade" id="contact" role="tabpanel" aria-labelledby="contact-tab">...</div>
18</div>
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>