質問編集履歴
2
コード部分追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,19 +8,132 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
```ここに言語を入力
|
11
|
-
|
11
|
+
<!DOCTYPE html>
|
12
|
+
<html lang="ja">
|
13
|
+
<head>
|
14
|
+
<meta charset="utf-8">
|
15
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
16
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
17
|
+
<!-- BootstrapのCSS読み込み -->
|
18
|
+
<link href="css/bootstrap.min.css" rel="stylesheet">
|
19
|
+
<link href="(略)" rel="stylesheet">
|
20
|
+
<!-- jQuery読み込み -->
|
21
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
22
|
+
<!-- BootstrapのJS読み込み -->
|
23
|
+
<script src="js/bootstrap.min.js"></script>
|
24
|
+
<title></title>
|
25
|
+
</head>
|
26
|
+
<body>
|
27
|
+
<center>
|
28
|
+
<ul id="menu">
|
29
|
+
<li><a href="#">トップ</a></li>
|
30
|
+
<li><a href="#">登録</a></li>
|
31
|
+
<li><a href="#">検索</a></li>
|
32
|
+
<li><a href="#">一覧</a></li>
|
33
|
+
</ul>
|
12
34
|
<form method="post" action="" class="form-horizontal">
|
13
|
-
|
35
|
+
<br>
|
36
|
+
<br>
|
37
|
+
<br>
|
14
38
|
<div class="form-group">
|
15
39
|
<label for="name" class="control-label col-sm-4">ID:</label>
|
16
40
|
<div class="col-sm-4">
|
17
|
-
<input type="
|
41
|
+
<input type="text" name="id" class="form-control" required="required">
|
18
42
|
</div>
|
19
43
|
</div>
|
44
|
+
|
45
|
+
<div class="form-group">
|
46
|
+
<label for="name" class="control-label col-sm-4">なまえ:</label>
|
47
|
+
<div class="col-sm-4">
|
48
|
+
<input type="text" name="name" required="required" class="form-control">
|
49
|
+
</div>
|
50
|
+
<div class="col-sm-1">
|
51
|
+
<select name="sex" class="form-control">
|
52
|
+
<option value="♂">♂</option>
|
53
|
+
<option value="♀">♀</option>
|
54
|
+
<option value="なし">なし</option>
|
55
|
+
</select>
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
|
59
|
+
<div class="form-group">
|
60
|
+
<label for="name" class="control-label col-sm-4">とくせい:</label>
|
61
|
+
<div class="col-sm-4">
|
62
|
+
<input type="text" class="form-control" name="tokusei" required="required">
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
|
66
|
+
<div class="form-group">
|
67
|
+
<label for="name" class="control-label col-sm-4">タイプ:</label>
|
68
|
+
<div class="col-sm-2">
|
69
|
+
|
70
|
+
<table>
|
71
|
+
<tr>
|
72
|
+
<td>
|
73
|
+
<select class="form-control" name="type1" required>
|
74
|
+
<option value="">--</option>
|
75
|
+
</select>
|
76
|
+
</td>
|
77
|
+
<td>
|
78
|
+
<select class="form-control" name="type2">
|
79
|
+
<option value="">--</option>
|
80
|
+
</select>
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
</table>
|
84
|
+
</div>
|
85
|
+
</div>
|
86
|
+
<h3>種族値</h3>
|
87
|
+
<input type="text" size="5" placeholder="HP"name="sHP_d">
|
88
|
+
<input type="text" size="5" placeholder="攻撃"name="sAtt_d">
|
89
|
+
<input type="text" size="5" placeholder="防御"name="sDef_d">
|
90
|
+
<input type="text" size="5" placeholder="特攻"name="sSatt_d">
|
91
|
+
<input type="text" size="5" placeholder="特防"name="sSdef_d">
|
92
|
+
<input type="text" size="5" placeholder="素早"name="sQui_d">
|
93
|
+
<br>
|
94
|
+
|
95
|
+
<h3>個体値</h3>
|
96
|
+
<input type="text" size="5" placeholder="HP"name="kHP_d">
|
97
|
+
<input type="text" size="5" placeholder="攻撃"name="kAtt_d">
|
98
|
+
<input type="text" size="5" placeholder="防御"name="kDef_d">
|
99
|
+
<input type="text" size="5" placeholder="特攻"name="kSatt_d">
|
100
|
+
<input type="text" size="5" placeholder="特防"name="kSdef_d">
|
101
|
+
<input type="text" size="5" placeholder="素早"name="kQui_d">
|
102
|
+
<br>
|
103
|
+
<h3>努力値</h3>
|
104
|
+
<input type="text" size="5" placeholder="HP"name="eHP_d">
|
105
|
+
<input type="text" size="5" placeholder="攻撃"name="eAtt_d">
|
106
|
+
<input type="text" size="5" placeholder="防御"name="eDef_d">
|
107
|
+
<input type="text" size="5" placeholder="特攻"name="eSatt_d">
|
108
|
+
<input type="text" size="5" placeholder="特防"name="eSdef_d">
|
109
|
+
<input type="text" size="5" placeholder="素早"name="eQui_d">
|
110
|
+
<br>
|
111
|
+
<div class="form-group">
|
112
|
+
<h3>わざ</h3>
|
113
|
+
<ul class="list-inline">
|
114
|
+
<li><input type="text" name="skill1" class="form-control"></li>
|
115
|
+
<li><input type="text" name="skill2" class="form-control"></li>
|
116
|
+
<li><input type="text" name="skill3" class="form-control"></li>
|
117
|
+
<li><input type="text" name="skill4" class="form-control"></li>
|
118
|
+
</div>
|
119
|
+
|
120
|
+
<div class="form-group">
|
121
|
+
<label for="name" class="control-label col-sm-4">メモ:</label>
|
122
|
+
<div class="col-sm-4">
|
123
|
+
<textarea name="memo" class="form-control" cols="3" rows="3"></textarea>
|
124
|
+
</div>
|
125
|
+
</div>
|
126
|
+
|
127
|
+
<br>
|
20
128
|
<input type="reset" class="button" value="リセット">
|
21
129
|
<input type="submit" class="button" value="送信">
|
130
|
+
</center>
|
131
|
+
</form>
|
22
132
|
|
23
|
-
</
|
133
|
+
</body>
|
134
|
+
</html>
|
135
|
+
|
136
|
+
|
24
137
|
```
|
25
138
|
|
26
139
|
上記required="required"の部分をrequiredのみにしても結果は変わりませんでした。
|
1
誤字を修正しました
title
CHANGED
File without changes
|
body
CHANGED
File without changes
|