-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
21 lines (21 loc) · 764 Bytes
/
form.html
File metadata and controls
21 lines (21 loc) · 764 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
<title>Form validation</title>
<meta charset="utf-8">
</head>
<body>
<script src="validate.js" type="text/javascript" ></script>
<fieldset style="width:200px">
<legend>Sign Up</legend>
<form method="POST" action="" onsubmit="validate()">
<label>Name: </label><input type="text" id="name" required /><br />
<label>Email: </label><input type="text" id="email" required /><br />
<label>Password: </label><input type="password" id="pass" required /><br />
<label> Reenter password: </label><input type="password" id="repass" required /><br />
<label>Mobile: </label><input type="text" id="mob" required /><br /><br />
<input type="submit" name="submit" />
</form>
</fieldset>
</body>
</html>