-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.html
More file actions
74 lines (64 loc) · 1.6 KB
/
forms.html
File metadata and controls
74 lines (64 loc) · 1.6 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>forms</title>
<h1>User Input Form</h1>
<form action="action.php">
<fieldset>
<legend>Personal Particular</legend>
<div>
<label for="name">name</label>
<input type="text" name="name" id="name" required >
</div>
<br>
<div>
<label for="password">password</label>
<input type="password" name="password" id="password" required>
</div>
<br>
<div>
gender:
<label for="male">male</label>
<input type="radio" name="gender" id="male" value="male">
<label for="female">female</label>
<input type="radio" name="gender" id="female" value="female">
</div>
<br>
<div>
<label for="age">Age</label>
<input type="number" name="age" id="age" min="15" max="50">
</div>
<br>
<div>
<label for="date">birthdate</label>
<input type="date" name="date" id="date">
</div>
</fieldset>
<br>
<fieldset>
<legend>Languages</legend>
<select name="languages" id="languages">
<option value="java">java</option>
<option value="c">c</option>
<option value="python">python</option>
</select>
<label for="checkbox">java</label>
<input type="checkbox" name="checkbox" id="checkbox">
<label for="checkbox">c</label>
<input type="checkbox" name="checkbox" id="checkbox">
<label for="checkbox">python</label>
<input type="checkbox" name="checkbox" id="checkbox">
</fieldset>
<br>
<fieldset>
<legend>Instruction</legend>
<textarea name="message" id="message" placeholder="enter your instruction here..." cols="50" rows="5"></textarea>
</fieldset>
<br>
<label for="reset"></label>
<input type="reset" name="reset" id="reset">
<button>submit</button>
</form>
</body>
</html>