Bootstrap Tutorial - Create navigation bar








The following code shows how to create navigation bar.

Example

<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet"
  href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<!--from www  .  j av  a2 s . c o  m-->
</head>
<body style='margin: 20px;'>
  <div class="container">
    <div class="row">
      <div class="span6">
        <ul class="nav nav-tabs">
          <li class="active"><a href="#">Home</a></li>
          <li><a href="#">Tutorials</a></li>
          <li><a href="#">Practice Editor </a></li>
          <li><a href="#">Gallery</a></li>
          <li><a href="#">Contact</a></li>
        </ul>
      </div>
    </div>
  </div>
</body>
</html>

Click to view the demo