-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path17.Form.html
86 lines (86 loc) · 4.35 KB
/
17.Form.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
</head>
<body>
<div class="container" style="margin-top: 20px;">
<form>
<!-- Text Field -->
<div class="mb-3">
<label for="name" class="form-label">ชื่อ</label>
<input type="text" placeholder="กรุณาป้อนชื่อ" class="form-control">
</div>
<div class="mb-3">
<label for="email" class="form-label">อีเมล</label>
<input type="email" placeholder="กรุณาป้อนอีเมล" class="form-control">
</div>
<div class="mb-3">
<label for="password" class="form-label">รหัสผ่าน</label>
<input type="password" placeholder="กรุณาป้อนรหัสผ่าน" class="form-control">
</div>
<!-- Select -->
<div class="mb-3">
<label for="job" class="form-label">อาชีพ</label>
<select name="job" class="form-select">
<option>Programmer</option>
<option>Developer</option>
<option>อาจารย์</option>
<option>ทนายความ</option>
</select>
</div>
<!-- TextArea -->
<div class="mb-3">
<label class="form-label">ที่อยู่</label>
<textarea class="form-control" cols="30" rows="5"></textarea>
</div>
<!-- File -->
<div class="mb-3">
<label class="form-label">เอกสาร</label>
<input type="file" class="form-control">
</div>
<!-- Range -->
<div class="mb-3">
<label class="form-label">ประสบการณ์ทำงาน</label>
<input type="range" min="1" max="5" value="5" class="form-range">
</div>
<input type="submit" name="" id="" value="บันทึกข้อมูล" class="btn btn-success">
</form>
<br>
<!-- Form Check -->
<form class="mb-3">
<div>
<label class="form-label">ชื่อ</label>
<input type="text" placeholder="กรุณาป้อนชื่อ" class="form-control">
</div>
<div>
<label class="form-label">รหัสผ่าน</label>
<input type="password" placeholder="กรุณาป้อนรหัสผ่าน" class="form-control">
</div>
<div class="form-check">
<label><input type="checkbox" name="" class="form-check-input">ฉันยอมรับเงื่อนไข</label>
</div>
<button class="btn btn-danger">ส่งข้อมูล</button>
</form>
<br>
<!-- Validation -->
<div class="mb-3">
<label for="name" class="form-label">ชื่อ</label>
<input type="text" placeholder="กรุณาป้อนชื่อ" class="form-control is-valid">
</div>
<div class="mb-3">
<label for="email" class="form-label">อีเมล</label>
<input type="email" placeholder="กรุณาป้อนอีเมล" class="form-control is-invalid">
</div>
<div class="mb-3">
<label for="password" class="form-label">รหัสผ่าน</label>
<input type="password" placeholder="กรุณาป้อนรหัสผ่าน" class="form-control is-invalid">
<div class="invalid-feedback">ป้อนรหัสผ่านไม่ถูกต้อง</div>
</div>
</div>
</body>
</html>