-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (47 loc) · 2.17 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
<!DOCTYPE html>
<html lang="eu">
<head>
<title>Validation form</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<main>
<h1>Register</h1>
<form id="form" onsubmit="return false" action="blank">
<fieldset>
<label for="name">Name:</label>
<input type="text" id="name" name="name" placeholder="John">
</fieldset>
<fieldset>
<label for="email">Email:</label>
<input type="email" id="email" name="email" placeholder="[email protected]">
</fieldset>
<fieldset>
<label for="password">Password:</label>
<input type="password" id="password" name="password" placeholder="••••">
</fieldset>
<fieldset>
<label for="confPassword">Confirm Password:</label>
<input type="password" id="confPassword" name="confPassword" placeholder="••••">
</fieldset>
<fieldset>
<label for="tel">Telephone number:</label>
<input type="tel" id="tel" name="tel" placeholder="+1 (417) 251-1263">
</fieldset>
<fieldset>
<label for="address">Web site address:</label>
<input type="url" id="address" name="address" placeholder="http://www.abc.com">
</fieldset>
<div id="buttons">
<input type="submit" value="Submit" id="submit">
<input type="reset" value="Reset" id="reset">
</div>
</form>
</main>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/jquery.validate.min.js"></script>
<script src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/additional-methods.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>