Prev Demo
Bootstrap
>
Navbar Right Alignment
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</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><i>Inverted navbar with right aligned</i></h2> <nav class="navbar navbar-inverse"> <div class="navbar-header"> <a class="navbar-brand" href="#">TechFunda</a> </div> <ul class="nav navbar-nav"> <li class="active"><a href="#">HTML5</a></li> <li><a href="#">CSS</a></li> <li><a href="#">JavaScript</a></li> <li><a href="#">Bootstrap</a></li> </ul> <ul class="nav navbar-nav navbar-right"> <li><a href="#"><span class="glyphicon-glyphicon-user"></span>Register</a></li> <li><a href="#"><span class="glyphicon-glyphicon-log-in"></span>Login</a></li> </ul> </nav> </body> </html>
Note: We DO NOT save your trial code in our database.
Output