Bootstrap Tutorial - Create navbar-nav








The following code shows how to create navbar-nav.

Example

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css"
  href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css">
<!--   www .  ja  v a2s. c o m-->
</head>
<body>
<body style='margin:30px'>
  <div class="container">

    <div class="navbar">
      <a class="navbar-brand" href="#"><code>Navbar 3</code></a>
      <ul class="nav navbar-nav">
        <li class="active"><a href="">Home</a></li>
        <li><a href="">Home</a></li>
        <li><a href="">Products</a></li>
        <li><a href="">Technology</a></li>
        <li><a href="">About Us</a></li>
        <li><a href="">News</a></li>
        <li><a href="">Contact</a></li>
      </ul>
    </div>
  </div>

</body>
</html>

Click to view the demo