Bootstrap Tutorial - Disable Input








The following code shows how to disable Input.

Example

<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet"
  href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<style type="text/css">
.bs-example {<!--from ww w.  j a va 2  s  .  co  m-->
  margin: 20px;
}
</style>
</head>
<body>
  <div class="bs-example">
    <form>
      <input type="text" class="form-control" placeholder="Disabled input"
        disabled="disabled">
    </form>
  </div>
</body>
</html>

Click to view the demo