-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path25form.html
50 lines (44 loc) · 2.02 KB
/
25form.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
<!doctype html>
<html lang="ko">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<title>Hello, world!</title>
</head>
<body>
<h1>폼</h1>
<h2>기본 폼</h2>
<form name="frm1" id="frm1" method="post">
<div class="form-group">
<label for="userid">아이디</label>
<input type="text" name="userid" id="userid" class="form-control col-3">
</div>
<div class="form-group">
<label for="passwd">비밀번호</label>
<input type="password" name="passwd" id="passwd"
class="form-control col-3">
</div>
<div class="form-group">
<button type="button" class="btn btn-primary">로그인</button>
</div>
</form>
<form>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox"
name="gender" id="gender" value= "1">
<label>독서</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="checkbox"
name="gender" id="gender" value= "2">
<label>여행</label>
</div>
</form>
<!-- jQuery and Bootstrap Bundle (includes Popper) -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
</body>
</html>