-
Notifications
You must be signed in to change notification settings - Fork 0
/
html_forms_12.html
67 lines (55 loc) · 2.18 KB
/
html_forms_12.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
<!DOCTYPE html>
<html>
<head>
<title>HTML form</title>
</head>
<body>
<form action="html_forms_12.php" method="POST" enctype="multipart/form-data">
<label for="username">username: </label>
<input type="text" id="username"
placeholder="SpongeBob" minlength="6"
maxlength="15" required>
<br>
<label for="password">password: </label>
<input type="password" id="password"
minlength="6" maxlength="15" required>
<br>
<label for="email">email: </label>
<input type="email" id="username"
placeholder="google1234@gmail.com" required>
<br>
<label for="phone">phone# </label>
<input type="tel" id="phone"
placeholder="012-345-6789"
pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}"
required>
<br>
<label for="bday">birthdate: </label>
<input type="date" id="bday"><br>
<label for="quantity">quantity: </label>
<input type="number" id="quantity"
min="0" max="99" value="1"><br>
<label for="position">education background: </label>
<label for="bachelor">B.B.A</label>
<input type="radio" id="bachelor" value="bachelor" name="position">
<label for="Master">M.B.A</label>
<input type="radio" id="Master" value="Master" name="position">
<label for="Docter">Ph.D</label>
<input type="radio" id="Docter" value="Docter" name="position"><br>
<label for="payment">payment =></label>
<select id="payment">
<option value="visa">visa</option>
<option value="mastercard">mastercard</option>
<option value="paypal">paypal</option>
</select><br>
<label for="sub">subscribe: </label>
<input type="checkbox" id="sub"><br>
<label for="comment">comment: </label>
<textarea id="comment" rows="3" cols="25"></textarea><br>
<label for="file">upload file: </label>
<input type="file" id="file" accept="image/png, image/jpeg"><br>
<input type="reset">
<input type="submit">
</form>
</body>
</html>