-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.html
More file actions
44 lines (43 loc) · 2.28 KB
/
form.html
File metadata and controls
44 lines (43 loc) · 2.28 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
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="col m-4">
<div class="card shadow-lg border-0 h-100 ">
<div class="card-body text-center">
<h1 class="card-title ">Register Form example</h1>
<form action="Register" class="form card-body">
<label for="name" class="form-label card-text">Name: </label>
<input type="text" id="name" name="name" class="form-control" required>
<label for="email" class="form-label card-text ">Gmail: </label>
<input type="email" id="email" name="email" class="form-control mb-3">
<input type="email" id="email" name="email" class="form-control is-valid " value="@gmail.com" readonly>
<label for="password" class="form-label card-text">Password: </label>
<input type="password" id="password" name="password" class="form-control" required>
<label for="confirm-password" class="form-label card-text">Confirm Password: </label>
<input type="password" id="confirm-password" name="confirm-password" class="form-control" required>
<label for="programming-language" class="form-label card-text">Programming Language: </label>
<select name="Programming Language" class="form-select">
<option value="python">Python</option>
<option value="javascript">JavaScript</option>
<option value="java">Java</option>
<option value="csharp">C#</option>
</select>
<label for="terms" class="form-label card-text">Accept Terms: </label>
<input type="checkbox" id="terms" name="terms" class="form-check-input" required>
<span class="card-text">I accept the terms and conditions</span>
</form>
</div>
<div class="d-flex justify-content-center">
<button class="btn btn-primary w-50">Submit</button>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<script src=""></script>
</body>
</html>