-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbutton.html
More file actions
73 lines (65 loc) · 2.33 KB
/
button.html
File metadata and controls
73 lines (65 loc) · 2.33 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
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
<!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">
<title>Document</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<!-- Option 1: Include in HTML -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
<style>
.container {
display: flex;
justify-content: center;
align-items: center;
height: 450px;
}
form {
border: 1px solid black;
padding: 30px;
border-radius: 10px;
}
</style>
</head>
<body class="container-fluid">
<div class="container">
<form>
<h3>Register User</h3>
<div>
<label for="username" class="form-label">Username</label>
<div>
<input type="text" name="username" class="form-control">
</div>
</div>
<div>
<label for="Pass" class="form-label">Password</label>
<div>
<input type="password" name="Pass" class="form-control">
</div>
</div>
<div>
<label for="city" class="form-label">Your City</label>
<div>
<select name="city" class="form-select">
<option>Select your city</option>
<option>Delhi</option>
<option>Mumbai</option>
<option>Hyderabad</option>
</select>
</div>
</div>
<div class="mt-3">
<label class="form-label" for="Subscription">Subscription</label>
<div class="form-switch">
<input type="checkbox" class="form-check-input" name="Subscription">ON
</div>
</div>
<div class="mt-3">
<button class="btn-primary w-100">Register</button>
</div>
</form>
</div>
</body>
</html>