Create login form
Description
The following code shows how to create login form.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.9.1.js'></script>
<link rel="stylesheet" type="text/css"
href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css"
href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css">
<style type='text/css'>
form {<!-- w w w .j a v a 2s .c o m-->
max-width: 480px;
margin: auto;
}
.form-group>[class*="col-"]+.ws-errorbox {
padding: 0 15px;
}
</style>
</head>
<body>
<form action="#" class="form-horizontal ws-validate">
<div class="form-group">
<label for="inputEmail3" class="control-label">Email*</label> <input
type="email" class="form-control" id="inputEmail3"
placeholder="Email" required />
</div>
<div class="form-group">
<label for="inputPassword3" class="control-label">Password*</label> <input
type="password" class="form-control" id="inputPassword3"
placeholder="Password" required />
</div>
<div class="form-group">
<div class="checkbox">
<label> <input type="checkbox" required="" />Remember me
</label>
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">submit</button>
</div>
</form>
</body>
</html>