Bootstrap add search box with icon in navbar
home
Run
screen_rotation
fullscreen
cloud_download
navigate_before
<html> <head> <title>Bootstrap Grid</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> <!-- Optional theme --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <form class="navbar-form navbar-inverse" role="search"> <div class="input-group"> <input type="text" class="form-control" placeholder="Search Here..."> <div class="input-group-btn"> <button type="submit" class="btn btn-default form-control"> <span class="glyphicon glyphicon-search"></span> </button> </div> </div> </form> </div> </body> </html>
<html> <head> <title>Bootstrap Grid</title> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> <!-- Optional theme --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <form class="navbar-form navbar-inverse" role="search"> <div class="input-group"> <input type="text" class="form-control" placeholder="Search Here..."> <div class="input-group-btn"> <button type="submit" class="btn btn-default form-control"> <span class="glyphicon glyphicon-search"></span> </button> </div> </div> </form> </div> </body> </html>
Copyrights@tutorialsplane.com