-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
127 lines (126 loc) · 4.13 KB
/
index.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!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>Document</title>
<link rel="stylesheet" href="cscss.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Raleway&display=swap"
rel="stylesheet"
/>
<link rel="shortcut icon" type="image/x-icon" href="favi.png" />
</head>
<body class="registeration">
<header>
<h1><b>Academic Registeration Portal</b></h1>
</header>
<div class="fill">
<form
action="success.html"
onsubmit="return validateForm()"
method="post"
name="myForm"
>
<div class="fh"><b>Registeration Form</b></div>
<div class="formelement">
<div class="fname">
<label for="name"><b>Name:</b><br /></label>
<input
class="name"
type="text"
placeholder="enter your full name"
autocomplete="off"
name="d"
required
/>
<b><p class="formerror" id="fname"></p></b>
</div>
<div class="contain">
<div class="gender">
<label for="gender"><b>Gender:</b></label>
</div>
<div class="option">
<div class="lad">
<input class="male" type="radio" name="gender" />
<label for="male">Male</label>
</div>
<div class="mad">
<input class="female" type="radio" name="gender" />
<label for="female">Female</label>
</div>
<div class="cad">
<input class="others" type="radio" name="gender" />
<label for="others">Others</label>
</div>
</div>
</div>
<div class="phnumber">
<label for="number"><b>Phone Number</b><br /></label>
<input
class="number"
type="number"
placeholder="enter the mobile number"
autocomplete="off"
name="e"
required
/>
<b><p class="formerror" id="fnumber"></p></b>
</div>
<div class="emailID">
<label for="emailID"><b>Email ID</b><br /></label>
<input
class="email"
type="email"
pattern="f[0-9]{8}@pilani.bits-pilani.ac.in"
title="please enter only bits(pilani campus)-emailID"
placeholder="enter your BITS email ID"
autocomplete="off"
name="p"
required
/>
<p class="formerror" id="femail"></p>
</div>
<div class="sID">
<label for="studentID"><b>Student ID</b><br /></label>
<input
class="studentID"
type="text"
placeholder="2021YYPSXXXXP"
autocomplete="off"
pattern="[0-9]{4}[A-Za-z][0-9][A-Za-z]{2}[0-9]{4}[a-zA-Z]"
title="Please enter in the pattern as provided in placeholder"
name="a"
required
/>
<p class="formerror" id="studID"></p>
</div>
<div class="pwd">
<label for="pass"><b>Password:</b><br /></label>
<input
type="password"
placeholder="enter the password"
autocomplete="off"
class="pass"
name="k"
required
/>
<b><p class="formerror" id="passw"></p></b>
</div>
<div class="sub">
<input type="submit" />
<input type="reset" onclick="clearErrors" />
</div>
<h3>
Visit my Vendor Website
<a href="vendor.html"> Check here</a>
</h3>
</div>
</form>
</div>
<script src="app.js"></script>
</body>
</html>