-
Notifications
You must be signed in to change notification settings - Fork 0
/
form.html
63 lines (61 loc) · 2.19 KB
/
form.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
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>表单元素</title>
<link rel="stylesheet" href="css/bootstrap.css" />
<script type="text/javascript" src="js/jquery-1.11.0.js" ></script>
<script type="text/javascript" src="js/bootstrap.js" ></script>
</head>
<body>
<div class="container">
<div class="h1 page-header text-center">表单元素引用的五中场景</div>
<div>
username:<input type="text" name="username" value=""/>
password:<input type="password" name="password" value="" />
</div>
<div class="form-group">
<label>username:</label>
<input type="text" class="form-control" name="username" placeholder="用户名" value=""/>
</div>
<div class="form-group">
<label>password:</label>
<input type="password" class="form-control" name="password" placeholder="密码" value="" />
</div>
<div class="form-inline">
<div class="form-group">
<label>username:</label>
<input type="text" class="form-control" name="username" placeholder="用户名" value=""/>
<label>password:</label>
<input type="password" class="form-control" name="password" placeholder="密码" value="" />
</div>
</div>
<div class="row">
<div class="form-group col-md-3">
<label>username:</label>
<input type="text" class="form-control" name="username" placeholder="用户名" value=""/>
</div>
<div class="form-group col-md-3">
<label>password:</label>
<input type="password" class="form-control" name="password" placeholder="密码" value="" />
</div>
</div>
<div class="form-horizontal">
<div class="form-group">
<label class="col-md-4 control-label">username:</label>
<div class="col-md-4">
<input type="text" class="form-control" name="username" placeholder="用户名" value=""/>
</div>
</div>
</div>
<div class="form-horizontal">
<div class="form-group">
<label class="col-md-4 control-label">password:</label>
<div class="col-md-4">
<input type="password" class="form-control" name="password" placeholder="密码" value="" />
</div>
</div>
</div>
</div>
</body>
</html>