-
Notifications
You must be signed in to change notification settings - Fork 0
/
Q11_inputelements.html
89 lines (88 loc) · 3.27 KB
/
Q11_inputelements.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
87
88
89
<!-- Create an HTML page, which should contain all types of input elements. -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML page conating all input elements</title>
</head>
<body style="background-color: rgb(226, 211, 77);">
<h1>Student Registration Form</h1>
<form>
<table>
<tr>
<td> Firstname:</td> <td><input type="text" /> </td>
</tr>
<tr>
<td>Lastname:</td> <td><input type="text" /> </td>
</tr>
<tr>
<td>Email ID:</td> <td><input type="email"/> </td>
</tr>
<tr>
<td>Phone number:</td> <td><input type="tel" /> </td>
</tr>
<tr>
<td>Gender:</td><td><input type="radio" name="g"/>Male</td>
<td><input type="radio" name="g"/>Female</td>
<td><input type="radio" name="g"/>Others</td>
</tr>
<tr>
<td>Date of birth:</td> <td><input type="date"/> </td>
</tr>
<tr>
<td>Photo:</td> <td><input type="file" /> </td>
</tr>
<tr>
<td>Address:</td> <td><textarea></textarea> </td>
</tr>
<tr>
<td>Pincode:</td> <td><input type="number"/> </td>
</tr>
<tr>
<td>Hobbies:</td> <td><input type="checkbox" value="Drawing"/>Drawing</td>
<td><input type="checkbox" value="Singing"/>Singing</td>
<td><input type="checkbox" value="Dancing"/>Dancing</td>
<td><input type="checkbox" value="Reading"/>Reading</td>
<td><input type="checkbox" value="Others"/>Others</td> <td><input type="text" /> </td>
</tr>
<tr>
<td>Select course:</td>
<td><select>
<option value="bsc">B.sc</option>
<option value="ba">B.A</option>
<option value="bcom">B.com</option>
<option value="bca">BCA</option>
</select> </td>
</tr>
<tr><td>Mark details:</td></tr>
<table border="1">
<tr>
<th>S.no</th> <th>Std</th> <th>Board</th> <th>Percentage</th> <th>Year of passing</th>
</tr>
<tr>
<td> 1 </td>
<td> X </td>
<td><input type="text" /></td>
<td><input type="text" /></td>
<td><input type="text" /></td>
</tr>
<tr>
<td> 2 </td>
<td> XII </td>
<td><input type="text" /></td>
<td><input type="text" /></td>
<td><input type="text" /></td>
</tr>
</table>
<br>
<tr>
<td><input type="submit" value="Submit"/> </td>
</tr>
<tr>
<td><input type="reset" value="Reset"/> </td>
</tr>
</table>
</form>
</body>
</html>