質問編集履歴

3

コードを<head>~</head>内に記述していたため修正致しました。

2018/10/09 04:28

投稿

rebell
rebell

スコア19

test CHANGED
File without changes
test CHANGED
@@ -30,6 +30,10 @@
30
30
 
31
31
  </head>
32
32
 
33
+
34
+
35
+ <body>
36
+
33
37
  <p>
34
38
 
35
39
  社員No<input type="text" name="namae" size="40" maxlength="4"><input type="button" value="選択">
@@ -102,7 +106,7 @@
102
106
 
103
107
  <button type="submit">終了</button>
104
108
 
105
- <body></body>
109
+ </body>
106
110
 
107
111
  </html>
108
112
 
@@ -134,6 +138,10 @@
134
138
 
135
139
  </head>
136
140
 
141
+
142
+
143
+ <body>
144
+
137
145
  <ul class="container">
138
146
 
139
147
  <li class="item">社員No</li>
@@ -144,7 +152,7 @@
144
152
 
145
153
  </ul>
146
154
 
147
- <body></body>
155
+ </body>
148
156
 
149
157
  </html>
150
158
 

2

htmlの下にitemを記載したコードを記載しました

2018/10/09 04:28

投稿

rebell
rebell

スコア19

test CHANGED
File without changes
test CHANGED
@@ -108,6 +108,48 @@
108
108
 
109
109
  ```
110
110
 
111
+ 追記
112
+
113
+
114
+
115
+ 上記のhtmlコードで最初に組んでレイアウトが綺麗でなかったため、
116
+
117
+ class属性のitemを作ってコーディングしてみたのですが。。
118
+
119
+
120
+
121
+ ```html
122
+
123
+ <!DOCTYPE html>
124
+
125
+ <html lang="ja">
126
+
127
+ <head>
128
+
129
+ <meta charset="UTF-8">
130
+
131
+ <title>社員登録</title>
132
+
133
+ <link rel="stylesheet" type="text/css" href="style.css">
134
+
135
+ </head>
136
+
137
+ <ul class="container">
138
+
139
+ <li class="item">社員No</li>
140
+
141
+ <li class="item"><input type="text" name="namae" size="40" maxlength="4"></li>
142
+
143
+ <li class="item"><input type="button" value="選択"></li>
144
+
145
+ </ul>
146
+
147
+ <body></body>
148
+
149
+ </html>
150
+
151
+ ```
152
+
111
153
 
112
154
 
113
155
  ```css
@@ -180,8 +222,6 @@
180
222
 
181
223
 
182
224
 
183
-
184
-
185
225
  markdownうまく出来ず申し訳ないです。
186
226
 
187
227
 

1

markdoun修正

2018/10/09 03:20

投稿

rebell
rebell

スコア19

test CHANGED
File without changes
test CHANGED
@@ -13,8 +13,6 @@
13
13
  ![イメージ説明](63fda98c2bdbf30a3a4e3034a6c1069c.png)
14
14
 
15
15
 
16
-
17
- html
18
16
 
19
17
  ```html
20
18
 
@@ -106,7 +104,9 @@
106
104
 
107
105
  <body></body>
108
106
 
109
- </html>```
107
+ </html>
108
+
109
+ ```
110
110
 
111
111
 
112
112
 
@@ -174,7 +174,9 @@
174
174
 
175
175
  color:white /*文字色を白に*/
176
176
 
177
+ }
178
+
177
- }```
179
+ ```
178
180
 
179
181
 
180
182