The following code creates a horizontal tab navigation using bootstrap as shown below
<html lang="en"> <head> <title>Bootstrap Example for horizontal tab navigation</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.2.0/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <h2>horizontal Navigation Pills</h2> <ul class="nav nav-tabs" role="tablist"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Women</a></li> <li><a href="#">Men</a></li> <li><a href="#">kids</a></li> </ul> </div> </body> </html>
No comments:
Post a Comment