Mark input element with form control class
Description
The following code shows how to mark input element with form control class.
Example
<!--from w w w .jav a2 s.co m-->
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css"
href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
</head>
<body>
<h1>Contact Us</h1>
<form action="" method="POST">
<label for="subject">Subject</label> <input type="text" name="subject"
class="form-control"> <label for="email">Email</label> <input
type="email" name="email" class="form-control"> <label
for="body">Message</label>
<textarea name="body" rows="10" class="form-control"></textarea>
<input type="submit" class="form-control">
</form>
</body>
</html>