-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (27 loc) · 1.18 KB
/
index.html
File metadata and controls
38 lines (27 loc) · 1.18 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
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Validation</title>
<script src="app.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2 style="text-align: center"> FORM VALIDATION</h2>
<form name="RegForm" action="javascript:void(0)" onsubmit="return formValidate()" method="post">
<p>Name : <input type="text" name="Name"></p>
<label class="alert" id="name"></label><br>
<p> Address : <input type="text" name="Address"> </p>
<label class="alert" id="address"></label><br>
<p>E-mail : <input type="text" name="EMail"></p>
<label class="alert" id="email"></label><br>
<p>Password : <input type="password" name="Password"> </p>
<label class="alert" id="pwd"></label><br> <br>
<p>Confirm Password : <input type="password" name="cPassword"> </p>
<label class="alert" id="cpwd"></label><br> <br>
<p>Phone : <input type="number" name="phone"> </p>
<label class="alert" id="phone"></label><br> <br>
<p><input type="submit" value="Check" name="Submit"></p><br>
</form>
</body>
</html>