js__bootstrap_demos/chapter3/10form.html
2015-03-30 11:19:56 +02:00

54 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap grid system</title>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-COMPATIBLE" content="IE=Edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="../css/bootstrap.min.css"/>
<link rel="stylesheet" href="styles.css" />
<!--[if lt IE 9]>
<script src="../js/html5shiv.3-7-0.js"></script>
<script src="../js/respond.1-4-2.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="page-header">
<h1>Chapter 3
<small>Exploring Bootstrap components: form</small>
</h1>
</div>
<form class="form">
<div class="form-group">
<label for="nameField">Name</label>
<input type="text" class="form-control" id="nameField" placeholder="Your name" />
</div>
<div class="form-group">
<label for="emailField">E-mail</label>
<input type="text" class="form-control" id="emailField" placeholder="Your email" />
</div>
<div class="form-group">
<label for="phoneField">Phone number</label>
<input type="text" class="form-control" id="phoneField" placeholder="Your phone number" disabled />
</div>
<div class="form-group">
<label for="descField">Description</label>
<textarea class="form-control" id="descField" placeholder="Your comments"></textarea>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
<button type="reset" class="btn btn-default">Reset</button>
</form>
</div>
<!-- https://ajax.googleapis.com/ajax/libs/jquery/1.11.1.jquery.min.js -->
<script src="../js/jquery-1.11.2.min.js"></script>
<script src="../js/bootstrap.js"></script>
</body>
</html>