-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhtml-task-4.html
111 lines (95 loc) · 3.12 KB
/
html-task-4.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML TASK 4</title>
</head>
<body>
<a href="index.html">Task 1</a>
<a href="html-task-2.html">Task 2</a>
<a href="html-task-3.html">Task 3</a>
<a href="html-task-4.html">Task 4</a>
<h1>OUTPUT</h1>
<br>
<center>
<img src="images/image.png" alt="employee image" width="50px">
<label>Employee Registration Form</label>
<br><br>
<form action="">
<input type="radio" name="mr">
<label for="">Mr.</label>
<input type="radio" name="mr">
<label for="">Mrs.</label>
<input type="radio" name="mr">
<label for="">Ms.</label>
<br><br>
<table>
<tr>
<td><label for="">First Name</label></td>
<td><input type="text" placeholder="First Name"></td>
</tr>
<tr>
<td><label for="">Last Name</label></td>
<td><input type="text" placeholder="Last name"></td>
</tr>
<tr>
<td><label for="">Mail Address 1</label></td>
<td><input type="text"></td>
</tr>
<tr>
<td><label for="">Mail Address 2</label></td>
<td><input type="text"></td>
</tr>
<tr>
<td><label for="">City</label></td>
<td><input type="text"></td>
</tr>
<tr>
<td><label for="">State</label></td>
<td>
<select name="" id="">
<option value="" selected>Gujarat</option>
<option value="">Pakistan</option>
<option value="">USA</option>
</select></td>
</tr>
<tr>
<td><label for="">Zip</label></td>
<td><input type="text"></td>
</tr>
<tr>
<td><label for="">Upload Photo</label></td>
<td><input type="file" name="" id=""></td>
</tr>
<tr>
<td><label for="">Email</label></td>
<td><input type="email"></td>
</tr>
<tr>
<td><label for="">Languages known</label></td>
<td><input type="checkbox">
<label for="">Gujarati</label> <br>
<input type="checkbox">
<label for="">Hindi</label> <br>
<input type="checkbox">
<label for="">English</label><br>
<input type="checkbox">
<label for="">Marathi</label></td>
</tr>
<tr>
<td><label for="">Additional Information</label></td>
<td><textarea name="" id="" placeholder="Optional"></textarea></td>
</tr>
<tr>
<td><input type="submit"><input type="reset"></td>
</tr>
</table>
</form>
<h1>Muhammad Arham Ali Khan <br>
Roll No 4277
</h1>
<p>I made these forms align using the table element</p>
</center>
</body>
</html>