forked from client69/Open
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStudentform.html
68 lines (60 loc) · 1.68 KB
/
Studentform.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie-edge">
<title>Forms</title>
</head>
<body>
<h2>This is HTML Forms tutorial</h2>
<form action="backend.php">
<label for="name">Name</label>
<div>
<input type="text" name="myName" id="name">
</div>
<br>
<div>
Role <input type="text" name="myRole">
</div>
<br>
<div>
Email: <input type="email" name="myEmail">
</div>
<br>
<br>
<div>
<input type="date" name="myDate">
</div>
<br>
<div>
Bonus: <input type="number" name="myBonus">
</div>
<br>
<div>
Are you Eligible: <input type="checkbox" name="myEligibility" checked>
</div>
<br>
<div>
Gender: Male<input type="radio" name="myGender">Female<input type="radio" name="myGender">
Other <input type="radio" name="myGender">
</div>
<br>
<div>
Write about yourself <br><textarea name="myText" cols="50" rows="10"></textarea>
</div>
<div>
<label for="car">Car</label>
<select name="myCar" id="car">
<option value="ind">Indica</option>
<option value="swft" selected>Swift</option>
</select>
</div>
<br>
<div>
<input type="submit" value="Submit Now">
<input type="reset" value="Reset Now">
</div>
</form>
</body>
</html>