-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap.html
54 lines (41 loc) · 1.34 KB
/
bootstrap.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="bootstrap.css">
<title>Boostrap 4 Form</title>
</head>
<body>
<div class="container">
<h1>CSS Form Using Bootstrap 4</h1>
<form class="form">
<div class="form-group row">
<label for="email" class="col-sm-2 col-form-label">Email address</label>
<div class="col-sm-10">
<input type="email" class="form-control" placeholder="Enter email">
</div>
</div>
<div class="form-group row">
<label for="name" class="col-sm-2 col-form-label">Name</label>
<div class="col-sm-10">
<input type="text" class="form-control" placeholder="Enter name">
</div>
</div>
<div class="form-group row">
<label for="message" class="col-sm-2 col-form-label">Message</label>
<div class="col-sm-10">
<textarea class="form-control" id="message" rows="3"></textarea>
</div>
</div>
<div class="form-row row">
<div class="col-sm-2"> </div>
<div class="col-sm-10">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</body>
</html>