-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (32 loc) · 1.78 KB
/
Copy pathindex.html
File metadata and controls
34 lines (32 loc) · 1.78 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
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<title>
Registration form
</title>
<link rel="stylesheet" href="style.css">
<script src="script.js" type="text/javascript"></script>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
</head>
<body>
<div id="main">
<h2>Registration</h2>
<hr>
<form name="Reg Form" onsubmit="return validateForm()">
<p><label>Full name</label><br><input type="text" id="fname" placeholder="Enter your name" name="fname"></p>
<p class="right"><label>Username</label><br><input type="text" id="uname" placeholder="Enter your username" name="uname"></p>
<p><label>Email</label><br><input type="text" id="em" placeholder="Enter your email" name="em"></p>
<p class="right"><label>Phone Number</label><br><input type="text" id="pno" placeholder="Enter your number"></p>
<p><label>Password</label><br><input type="password" id="pass" placeholder="Enter your password" name="pass"></p>
<p class="right"><label>Confirm Password</label><br><input type="password" id="cpass" placeholder="Confirm your password"cname="cpass"></p>
<h3>Gender</h3>
<div class="select"><input type="radio" name="gender" value="Male" id="c1"/>Male</div>
<div class="select"><input type="radio" name="gender" value="Female" id="c2"/>Female</div>
<div class="select"><input type="radio" name="gender" value="Prefer not to say" id="c3"/>Prefer not to say</div>
<br>
<br>
<input type="submit" value="Register" id="sub">
</form>
</div>
</body>