-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFormvalidation.html
96 lines (90 loc) · 4.98 KB
/
Formvalidation.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
<!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">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="icon" href="icon.png">
<title>Theory Of Automata</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">Theory Of Automata</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="Formvalidation.html">Form Validation</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown"
aria-expanded="false">
Regex Engine
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="Email.html">Email</a></li>
<li><a class="dropdown-item" href="Url.html">URL</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="Date.html">Date</a></li>
<li><a class="dropdown-item" href="Time.html">Time</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="bg-dark text-secondary px-4 py-5 text-center mt-5">
<div class="py-5">
<h1 class="display-5 fw-bold text-white">Form Validation</h1>
<div class="col-lg-6 mx-auto">
<p class="fs-5 mb-4">Form Validation includes Username Email & Password. It is important to validate the form submitted by the user because it can have inappropriate values. So, validation is must to authenticate user.</p>
</div>
</div>
</div>
<form>
<div class="mb-3 mt-4">
<label for="username" class="form-label">Username</label>
<input type="text" class="form-control" id="username" aria-describedby="emailHelp"
placeholder="Enter Username">
<small id="emailvalid" class="form-text text-muted invalid-feedback">Incorrect Username</small>
</div>
<div class="mb-3 mt-4">
<label for="email" class="form-label">Email</label>
<input type="text" class="form-control " id="email" placeholder="Enter Email">
<div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div>
<small id="emailvalid" class="form-text text-muted invalid-feedback">Incorrect Email</small>
</div>
<div class="mb-3">
<label for="password" class="form-label">Password</label>
<input type="text" class="form-control" id="password" placeholder="Enter Password">
<small id="emailvalid" class="form-text text-muted invalid-feedback">Password should be 8 - 20 character
long</small>
</div>
<div class="mb-3 form-check">
<input class="form-check-input" type="checkbox" id="checkbox">
<label class="form-check-label">I Accept all the terms and conditions & privacy
policy.</label>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-zYPOMqeu1DAVkHiLqWBUTcbYfZ8osu1Nd6Z89ify25QV9guujx43ITvfi12/QExE"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-Y4oOpwW3duJdCWv5ly8SCFYWqFDsfob/3GkgExXKV4idmbt98QcxXYs9UoXAB7BZ"
crossorigin="anonymous"></script>
<script src="FromValidation.js"></script>
</body>
</html>