Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

angular 12 tabs

<!-- Nav tabs -->
<ul class="nav nav-tabs" id="myTab" role="tablist">
  <li class="nav-item" role="presentation">
    <a class="nav-link active" id="home-tab" data-toggle="tab" href="#home" role="tab" aria-controls="home" aria-selected="true">Home</a>
  </li>
  <li class="nav-item" role="presentation">
    <a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="profile" aria-selected="false">Profile</a>
  </li>
  <li class="nav-item" role="presentation">
    <a class="nav-link" id="messages-tab" data-toggle="tab" href="#messages" role="tab" aria-controls="messages" aria-selected="false">Messages</a>
  </li>
  <li class="nav-item" role="presentation">
    <a class="nav-link" id="settings-tab" data-toggle="tab" href="#settings" role="tab" aria-controls="settings" aria-selected="false">Settings</a>
  </li>
</ul>

<!-- Tab panes -->
<div class="tab-content">
  <div class="tab-pane active" id="home" role="tabpanel" aria-labelledby="home-tab">...</div>
  <div class="tab-pane" id="profile" role="tabpanel" aria-labelledby="profile-tab">...</div>
  <div class="tab-pane" id="messages" role="tabpanel" aria-labelledby="messages-tab">...</div>
  <div class="tab-pane" id="settings" role="tabpanel" aria-labelledby="settings-tab">...</div>
</div>
Comment

PREVIOUS NEXT
Code Example
Javascript :: implement singleton javascript 
Javascript :: js range array 
Javascript :: how to send js array from ajax 
Javascript :: js environment variables 
Javascript :: sort() object values javascript 
Javascript :: js get screen width 
Javascript :: salvar no localStorage react 
Javascript :: jquery validation from data 
Javascript :: JavaScript querySelector - By Attribute 
Javascript :: math captcha 
Javascript :: jquery repeater 
Javascript :: how to remove first element from array in javascript 
Javascript :: creatable select react 
Javascript :: append javascript example 
Javascript :: join more then one array javascript 
Javascript :: a href javascript 
Javascript :: get min/max array 
Javascript :: export excel form angular array to excel 
Javascript :: how to use findoneandupdate 
Javascript :: component will unmount 
Javascript :: react scrip for deplot heroku 
Javascript :: nuxt import css 
Javascript :: react-query dependent query 
Javascript :: node js version 14 
Javascript :: cek versi node js 
Javascript :: javascript ajax get 
Javascript :: javascript substring 
Javascript :: js initialize 2d array 
Javascript :: strict mode 
Javascript :: js array push 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =