Bootstrap Tabs

Following code shows a simple implementation of tabs using Bootstrap having three tabs and contents respectively:

<!DOCTYPE html>
<html lang="en">
  <title>Bootstrap Tabs</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="">
  <script src=""></script>
  <script src=""></script>

  <div class="container">
    <h3>Bootstrap Tabs</h3>
    <ul class="nav nav-tabs" >
      <li class="active"><a href="#tab-menu-1" data-toggle="tab">Menu 1</a></li>
      <li><a href="#tab-menu-2" data-toggle="tab">Menu 2</a></li>
      <li><a href="#tab-menu-3" data-toggle="tab">Menu 3</a></li>

    <div class="tab-content" style="border: 1px solid #dddddd; margin-top: -1px; padding: 20px;">
      <div class="tab-pane active" id="tab-menu-1" >Content 1</div>
      <div class="tab-pane" id="tab-menu-2"> Content 2</div>
      <div class="tab-pane" id="tab-menu-3">Content 3</div>


Notice active tab is used to show default content.