-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0460_form_checkbox_radio.html
33 lines (33 loc) · 1.2 KB
/
0460_form_checkbox_radio.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
<!-- 入力要素のグループを縦に並べるには? -->
<!DOCTYPE html>
<html lang="ja">
<html>
<head>
<meta charset="UTF-8" />
<link href="assets/bootstrap.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
<form class="form-horizontal">
<div class="control-group">
<div class="control-group">
<label class="control-label">チェックボックス横</label>
<div class="controls">
<label class="checkbox inline"><input type="checkbox" /> 1</label>
<label class="checkbox inline"><input type="checkbox" /> 2</label>
<p class="help-block"><strong>Note:</strong>説明</p>
</div>
</div>
<div class="control-group">
<label class="control-label">チェックボックス縦</label>
<div class="controls">
<label class="checkbox"><input type="checkbox" />1</label>
<label class="checkbox"><input type="checkbox" />2</label>
<p class="help-block"><strong>Note:</strong>説明</p>
</div>
</div>
</div>
</form>
</div>
</body>
</html>