-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathex8.html
157 lines (156 loc) · 6.73 KB
/
ex8.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>폼요소2</title>
</head>
<body>
<h1>폼 요소2</h1>
<form action="join.jsp" method="post">
<h2>회원가입</h2>
<fieldset>
<legend>기본 정보</legend>
<table class="tb1">
<tbody>
<tr>
<th><label for="name">이름</label></th>
<td>
<input type="text" name="name" id="name" autofocus>
</td>
</tr>
<tr>
<th> <label for="id">아이디</label></th>
<td>
<input type="text" name="id" id="id">
<button type="button" id="idck_btn">중복확인</button>
</td>
</tr>
<tr>
<th><label for="pw">비밀번호</label></th>
<td>
<input type="password" name="pw" id="pw">
</td>
</tr>
<tr>
<th><label for="pw2">비밀번호 확인</label></th>
<td>
<input type="password" name="pw2" id="pw2">
</td>
</tr>
<tr>
<th><label for="emial">이메일</label></th>
<td>
<input type="email" name="email" id="email">
</td>
</tr>
<tr>
<th><label for="tel">연락처</label></th>
<td>
<input type="tel" name="tel" id="tel">
</td>
</tr>
<tr>
<th><label for="birth">생년월일</label></th>
<td>
<input type="date" name="birth" id="birth">
</td>
</tr>
</tbody>
</table>
</fieldset>
<fieldset>
<legend>추가 정보</legend>
<table class="tb1">
<tbody>
<tr>
<th><label for="area">해당 지역</label></th>
<td>
<select name="area" id="area">
<option>----선택안함----</option>
<option value="1" selected>서울</option>
<option value="2">경기</option>
<option value="3">강원</option>
<option value="4">대구</option>
<option value="5">부산</option>
<option value="6">광주</option>
<option value="7">대전</option>
</select>
</td>
</tr>
<tr>
<th><laber for="hobby">취미</laber></th>
<td>
<label for="hobby1">낚시</label>
<input type="checkbox" id="hobby1" name="hobby1" value="낚시">
<label for="hobby2">영화보기</label>
<input type="checkbox" id="hobby2" name="hobby2" value="영화보기">
<label for="hobby3">독서</label>
<input type="checkbox" id="hobby3" name="hobby3" value="독서" checked>
<label for="hobby4">스킨스쿠버</label>
<input type="checkbox" id="hobby4" name="hobby4" value="스킨스쿠버">
<label for="hobby5">등산</label>
<input type="checkbox" id="hobby5" name="hobby5" value="등산">
<label for="hobby6">요리</label>
<input type="checkbox" id="hobby6" name="hobby6" value="요리">
</td>
</tr>
<tr>
<th><laber for="male">성별</laber></th>
<td>
<input type="radio" name="male" id="male1" checked>
<label for="male1">여성</label>
<input type="radio" name="male" id="male2">
<label for="male2">남성</label>
</td>
</tr>
<tr>
<th><label for="picture">사진</picture></th>
<td>
<!--이미지 타입은 모두 선택 가능-->
<input type="file" name="file" id="pic" accept="image/*">
<!--해당 확장자의 파일만 가능-->
<input type="file" name="file" id="pic2" accept="image/*"> <!--뒤에 더있는데 강사님거 참고하기-->
</td>
</tr>
<tr>
<th><label for="memo">하고 싶은 말</label></th>
<td>
<textarea name="memo" id="memo" cols="30" rows="10"></textarea>
</td>
</tr>
<tr>
<th><label for="color">좋아하는 색상</label></th>
<td>
<input type="color" name="color" id="color">
</td>
</tr>
</tbody>
</table>
</fieldset>
<table class="tb1">
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td colspan="3">
<button type="submit">회원 가입</button>
<button type="reset">취소</button>
</td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</form>
</body>
</html>