How to create a menu in a website using navbar in bootstrap

Manideepgoud
Posted by Manideepgoud under Bootstrap category on | Points: 40 | Views : 665
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap navtab</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</head>
<body>
<h2>Menu using Navbar-inverse</h2>
<nav class="navbar navbar-inverse">
<div class="navbar-header">
<button type="button" data-target="#mynavbar" data-toggle="collapse" class="navbar-toggle">
<span class="sr-only">ToggleNavigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="#" class="navbar-brand">Brand</a>
</div>
<div id="mynavbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#"><span class="glyphicon glyphicon-home"></span>Home</a></li>
<li><a href="#"><span class="glyphicon glyphicon-certificate"></span>TechFunda</a></li>
<li><a href="#"><span class="glyphicon glyphicon-book"></span> ITFunda</a></li>
<li><a href="#"><span class="glyphicon glyphicon-gift"></span> KidsFunda</a></li>
<li><a href="#"><span class="glyphicon glyphicon-film"></span> FundooVideo</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Login</a></li>
<li><a href="#">Sign UP</a></li>
</ul>
</div>
</nav>

</body>
</html>

Comments or Responses

Login to post response