Bootstrap Tutorial - Create Search input form








The following code shows how to create Search input form.

Example

<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
#appendedInputButton {<!--from  w  ww  . jav a2s.c  om-->
  width: 50%;
}
</style>
<link
  href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-combined.min.css"
  rel="stylesheet">

</head>
<body style='margin:30px'>

<div class="container">
  <div class="row-fluid">
    <div class="span12">
      <div class="input-append span12">
        <input id="appendedInputButton" type="text">
        <button class="btn" type="button">Go!</button>
      </div>
    </div>
  </div>
</div>
</body>
</html>

Click to view the demo