This repository was archived by the owner on Jul 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathtask5.html
102 lines (102 loc) · 3.22 KB
/
task5.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Task 5</title>
<style>
*{
box-sizing: border-box;
margin: 10px;
}
body{
font-family: sans-serif;
margin-left: 20px;
padding: 5px;
}
.form{
border:4px solid black;
border-radius: 10px;
padding: 15px;
background-color:navajowhite;
}
input,select,textarea{
width: 100%;
padding: 10px;
border :2px solid blue;
border-radius: 10px;
height: 150%;
}
input[type="radio"],input[type="reset"],input[type="submit"],input[type="checkbox"]
{
width: 5%;
}
fieldset,input[type="select"]{
background-color:white;
border-radius: 10px;
border: 2px solid blue;
}
input[type="file"]
{
border: 0px;
padding: 10px 10px;
}
input[type="submit"],input[type="reset"]
{
background-color:darkblue;
cursor: pointer;
width: 10%;
color: white;
border: none;
padding: 10px 10px;
}
input[type="submit"]:hover,input[type="reset"]:hover
{
background-color: midnightblue;
}
h1
{color: blue;
text-align: center;}
</style>
</head>
<body>
<div class="form">
<form method="POST">
<h1>Contact Information</h1><hr><br>
<p>Name:<input type="text" name="name" required></p>
<p>Date Of Birth:<input type="date" name="DOB" required></p>
<fieldset>
<legend>Gender</legend>
<p>Male <input type="radio" name="gender" required></p>
<p>Female<input type="radio" name="gender" required></p>
<p>Others <input type="radio" name="gender" required></p>
</fieldset>
<p>Select Your Tech Interests: <br>
<input type="checkbox" name="ai">Artificial Intelligence <br>
<input type="checkbox" name="ml" >Machine Learning <br>
<input type="checkbox" name="cloud">Cloud Computing <br>
<input type="checkbox" name="webd">Web Development <br>
<input type="checkbox" name="mobile" >Mobile <br>
<input type="checkbox" name="devops">Dev Ops <br>
<input type="checkbox" name="system">System
</p>
<p>Email: <input type="email" name="email" placeholder="[email protected]"></p>
<p>Phone Number:<input type="number" name="" placeholder="5432167890"></p>
<p>Choose Security Question:
<select name="security" required>
<option value="">--Select--</option>
<option value="book">What is your favourite book?</option>
<option value="name">What is your nickname?</option>
<option value="birth">What is your birth town?</option>
<option value="other">Others</option>
</select>
</p>
<p>Tell Me About Yourself: <br><textarea name="person" id="1" cols="50" rows="5"></textarea></p>
<p>Upload Your Resume here: <input type="file" name="resume"></p>
<input type="reset" value="Reset">
<input type="submit" value="Submit">
</form>
</div>
</body>
</html>