-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
108 lines (98 loc) · 2.98 KB
/
form.html
File metadata and controls
108 lines (98 loc) · 2.98 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TrekkerTripper</title>
<link rel="shortcut icon" href="p1.jpg" type="image/x-icon">
</head>
<style>
body{
background-image: url('p1.jpg') ;
width: 100%;
}
.marq{
background-color: #000000;
color:white;
font-size: large;
font-family: 'Times New Roman', Times, serif;
}
.box{
margin: auto ;
width: 30%;
background-color: #498CA5;
border-radius: 20px;
display: block;
align-items: center;
margin-left:38%;
justify-content: center;
opacity: 0.8;
box-shadow: 10px 5px 1px;
}
.head{
color: rgb(0, 0, 0);
display: inline;
font-size: 35px;
background-color: rgb(255, 188, 129);
font-family: cursive;
margin-left: 8%;
}
.btn{
background-color: #0f3341;
padding: 8px 20px;
color: rgb(255, 255, 255);
}
@media screen and (max-width:1200px) {
.box{
width: 20%;
}
}
@media screen and (max-width:300px) {
.box{
width: 80%;
}
}
@media screen and (max-width:700px) {
.box{
width: 50%;
}
.btn{
padding: 10px 20px;
}
}
</style>
<body>
<marquee class="marq"><i>Users Registration for Manali trip will close on 15 November 2023</i></marquee><br><br>
<center><h1 class="head"> TrekkerTripper.com !</h1></center>
<div class="box">
<h1> User Registration Form</h1>
<form name="f1" method="post" action="submit.php" onsubmit="return validateForm()">
Name : <input type="text" name="name">
<span class="msg"></span>
<br><br>
Email :<input type="email" name="email">
<br><br>
Gender :
<input type="radio" name="gender" value="Male">Male
<input type="radio" name="gender" value="Female">Female
<input type="radio" name="gender" value="Others">Others
<br><br>
Phone Number : <input type="text" name="phone"><br><br>
Date of Birth : <input type="date" name="date"><br><br>
City :
<select name="city">
<option value="Nagpur">Nagpur</option>
<option value="Mumbai">Mumbai</option>
<option value="Pune">Pune</option>
<option value="Ahmednagar">Ahmednagar</option>
<option value="Amravati">Amravati</option>
</select>
<br><br>
<button type="submit" class="btn">Submit </button>
<button type="reset" class="btn">Reset</button>
</form>
</div>
<div class="box2">
</div>
</body>
</html>