forked from JHarry444/LBG-HTML-CSS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (50 loc) · 2.39 KB
/
index.html
File metadata and controls
56 lines (50 loc) · 2.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bootstrap - Intro</title>
<!-- Grab the <link> from https://getbootstrap.com/ and insert it here -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
</head>
<body>
<section>
<div class="h4 pb-2 mb-4 text-danger border-bottom border-danger">
<h2>London</h2>
<p>London is the capital of England.</p>
</div>
<div class="h4 pb-2 mb-4 text-danger border-bottom border-danger">
<h2>Paris</h2>
<p>Paris is the capital of France.</p>
</div>
<div class="h4 pb-2 mb-4 text-danger border-bottom border-danger">
<h2>Tokyo</h2>
<p>Tokyo is the capital of Japan.</p>
</div>
</section>
<main>
<!-- Give this section a maximum width and center it using the margin trick from yesterday -->
<section style="max-width: 30%; margin: auto">
<h2>Form</h2>
<form>
<!-- Use the bootstrap docs to find the relevant classes to style the labels and inputs -->
<label for="email"
class="p-6 bg-info bg-opacity-15 border border-info border-start-0 rounded-end">Email</label>
<input type="email" name="email" id="email" class="form-control">
<label for="username"
class="p-6 bg-info bg-opacity-15 border border-info border-start-0 rounded-end">Username</label>
<input type="text" name="username" id="username" class="form-control">
<label for="password"
class="p-6 bg-info bg-opacity-15 border border-info border-start-0 rounded-end">Password</label>
<input type="password" name="password" id="password" class="form-control">
<!-- Use the bootstrap docs to find the relevant classes to style the buttons -->
<button type="reset"
class="btn btn-primary btn-danger">RESET</button>
<button type="submit"
class="btn btn-primary">Submit</button>
</form>
</section>
</main>
</body>
</html>