Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: HTML
Posted by: firoooz iran
Added: Jul 27, 2019 7:56 AM
Modified: Jul 27, 2019 7:58 AM
Views: 12
Tags: tab
  1. <ul class="nav nav-pills">
  2.   <li class="active"><a data-toggle="pill" href="#home">Home</a></li>
  3.   <li><a data-toggle="pill" href="#menu1">Menu 1</a></li>
  4.   <li><a data-toggle="pill" href="#menu2">Menu 2</a></li>
  5. </ul>
  6.  
  7. <div class="tab-content">
  8.   <div id="home" class="tab-pane fade in active">
  9.     <h3>HOME</h3>
  10.     <p>Some content.</p>
  11.   </div>
  12.   <div id="menu1" class="tab-pane fade">
  13.     <h3>Menu 1</h3>
  14.     <p>Some content in menu 1.</p>
  15.   </div>
  16.   <div id="menu2" class="tab-pane fade">
  17.     <h3>Menu 2</h3>
  18.     <p>Some content in menu 2.</p>
  19.   </div>
  20. </div>
  21.