Skip to content

Commit 51ff887

Browse files
committed
signup
1 parent 941f951 commit 51ff887

1 file changed

Lines changed: 92 additions & 0 deletions

File tree

LAB2/signup.html

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
<!DOCTYPE html>
2+
<html lang="ko">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<link rel="stylesheet" type="text/css" href="main.css">
7+
<title>signup</title>
8+
</head>
9+
<body>
10+
11+
<h1>환영합니다!</h1>
12+
<!-- 로그인 창으로 이동하는 버튼 -->
13+
<button onclick="location.href='login.html'">로그인</button>
14+
15+
<div class="form-box">
16+
<p>
17+
<!--text type1 사용, autofocus 1사용-->
18+
이름:
19+
<input type="text" name="name" autofocus="name">
20+
</p>
21+
22+
<p>
23+
<!--date type2 사용-->
24+
생년월일:
25+
<input type="date" name="birth">
26+
</p>
27+
28+
<p>
29+
<!--select 사용-->
30+
성별:
31+
<input type="radio" name="sex" value="male">
32+
<label for="male">남성</label>
33+
<input type="radio" name="sex" value="female">
34+
<label for="female">여성</label>
35+
</p>
36+
37+
<p>
38+
<!--number type3 사용, step 2사용-->
39+
학년:
40+
<input type="number" name="grade" min="1" max="4" step="1">
41+
</p>
42+
43+
<p>
44+
<!--tel type4 사용, placeholder 3, required 4 사용-->
45+
전화번호:
46+
<input type="tel" name="phone" placeholder="010-0000-0000" pattern="^010-\d{4}-\d{4}$" required>
47+
48+
</p>
49+
50+
<p>
51+
<!--required 4 사용-->
52+
아이디:
53+
<input type="text" name="username" required>
54+
</p>
55+
56+
<p>
57+
<!--password type5 사용-->
58+
비밀번호:
59+
<input type="password" required>
60+
</p>
61+
62+
<p>
63+
<!--email type6 사용, autocomplete 5 사용-->
64+
이메일:
65+
<input type="email" name="email" autocomplete="on">
66+
</p>
67+
68+
<p>
69+
<!--radio 사용-->
70+
선호 장르:
71+
<select name="genre">
72+
<option value="romance">로맨스</option>
73+
<option value="action">액션</option>
74+
<option value="comedy">개그</option>
75+
<option value="fantasy">판타지</option>
76+
<option value="documentary">다큐멘터리</option>
77+
<option value="mystery">미스테리</option>
78+
<option value="other">기타</option>
79+
</select>
80+
</p>
81+
82+
<!--회원가입,취소 버튼-->
83+
<div>
84+
<button type="submit" class="button-signup">회원가입</button>
85+
<button type="submit" class="button-cancel">취소</button>
86+
</div>
87+
88+
</div>
89+
90+
91+
</body>
92+
</html>

0 commit comments

Comments
 (0)