質問編集履歴

1

htmlコードの追加

2022/10/14 02:10

投稿

Keisuke_NUT
Keisuke_NUT

スコア7

test CHANGED
File without changes
test CHANGED
@@ -52,6 +52,75 @@
52
52
  });
53
53
 
54
54
  ```
55
+ ```html
56
+ <!DOCTYPE html>
57
+ <html lang="ja">
58
+ <head>
59
+ <title>questionnaire</title>
60
+ <link rel="stylesheet" type="text/css" href="22331787_Q1.css" />
61
+ <script type="text/javascript" src="./22331787.js"></script>
62
+ </head>
63
+ <body>
64
+ <form id="Qreform">
65
+ <table>
66
+ <caption>研修先希望調査 </caption>
67
+ <tr>
68
+ <th> 派遣先</th>
69
+ <td>
70
+ <select name="country" >
71
+ <option value="台湾" />台湾
72
+ <option value="シンガポール" />シンガポール
73
+ <option value="フィリピン" />フィリピン
74
+ </select>
75
+ </td>
76
+ <td id="disp1"></td>
77
+ </tr>
78
+ <tr>
79
+ <th>日程</th>
80
+ <td>
81
+ <label>
82
+ <input type="radio" name="schedule" value="3月" id="r"/>3月
83
+ </label>
84
+ <label>
85
+ <input type="radio" name="schedule" value="8月" id="r"/>8月
86
+ </label>
87
+ <label>
88
+ <input type="radio" name="schedule" value="12月" id="r"/>12月
89
+ </label>
90
+ </td>
91
+ <td id="disp2"></td>
92
+ </tr>
93
+ <tr>
94
+ <th>宿泊施設</th>
95
+ <td>
96
+ <input type="checkbox" name="place" value="A-HOTEL" id="c1"/>
97
+ <label for="c1" class="l1">A-HOTEL</label>
98
+ <input type="checkbox" name="place" value="B-HOTEL" id="c2"/>
99
+ <label for="c2" class="l1">B-HOTEL</label>
100
+ <input type="checkbox" name="place" value="C-RESORT" id="c3"/>
101
+ <label for="c3" class="l1">C-RESORT</label>
102
+ </td>
103
+ <td id="disp3"></td>
104
+ </tr>
105
+ <tr>
106
+ <th>予算</th>
107
+ <td>
108
+ <input type="text" name="budget">円
109
+ </td>
110
+ <td id="disp4"></td>
111
+ </tr>
112
+ <tr>
113
+ <td colspan="3" id="tail">
114
+ <input type="submit" name="sendbutton" value="送信" id="button" />
115
+ </td>
116
+ </tr>
117
+ </table>
118
+ </form>
119
+
120
+ </body>
121
+ </html>
122
+
123
+ ```
55
124
 
56
125
  ### 試したこと
57
126
  以前の質問で教えて頂いたこと(ループ処理)などを実装。