質問編集履歴

1

コードの追加

2017/09/11 14:36

投稿

bigin
bigin

スコア67

test CHANGED
File without changes
test CHANGED
@@ -9,6 +9,88 @@
9
9
  <値>→テキストファイルにして、出力したい
10
10
 
11
11
 
12
+
13
+ フォームhtml
14
+
15
+ ```ここに言語を入力
16
+
17
+ <!DOCTYPE html>
18
+
19
+ <html lang="ja">
20
+
21
+ <head>
22
+
23
+ <meta charset="utf-8">
24
+
25
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
26
+
27
+ <meta name="viewport" content="width=device-width, initial-scale=1">
28
+
29
+ <title>プレゼント入力フォーム</title>
30
+
31
+ <link href="css/bootstrap.min.css" rel="stylesheet">
32
+
33
+ <link rel="stylesheet" type="text/css" href="form.css" >
34
+
35
+ <script src="js/bootstrap.min.js"></script>
36
+
37
+ </head>
38
+
39
+ <body>
40
+
41
+ <form action="present_index.html" method="post" class="form" align="left" enctype="multipart/form-data">
42
+
43
+ <div class="form-group">
44
+
45
+ 商品名
46
+
47
+ <input type="text" name="name" placeholder="商品名" class="form-control" required>
48
+
49
+ </div>
50
+
51
+ <div class="form-group">
52
+
53
+ 商品説明<br>
54
+
55
+ <TEXTAREA name="introduce" maxlength="150" cols="40" rows="6" wrap="off" required></TEXTAREA>
56
+
57
+ </div>
58
+
59
+ <div class="form-group">
60
+
61
+ 画像
62
+
63
+ <input type="file" name="image" required>
64
+
65
+ </div>
66
+
67
+ <div class="form-group">
68
+
69
+ 会社名
70
+
71
+ <input type="text" name="companyname" placeholder="会社名" class="form-control" required maxlength="2">
72
+
73
+ </div>
74
+
75
+ <div class="form-group">
76
+
77
+ URL
78
+
79
+ <input type="url" name="url" value="" class="form-control">
80
+
81
+ </div>
82
+
83
+ <button type="submit" class="btn btn-default registration">登録</button>
84
+
85
+ </div>
86
+
87
+ </form>
88
+
89
+ </body>
90
+
91
+ </html>
92
+
93
+ ```
12
94
 
13
95
 
14
96