-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (65 loc) · 1.76 KB
/
index.html
File metadata and controls
74 lines (65 loc) · 1.76 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
74
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bike Rentals</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
display: flex;
flex-direction: column;
min-height: auto; /* Ensure the body takes at least the full viewport height */
}
header {
background-color: #333;
color: #fff;
padding: 1em;
text-align: center;
}
nav {
background-color: #0d6e7d;
color: #fff;
padding: 0.5em;
text-align: center;
}
section {
padding: 1em;
}
/* Style for the footer */
footer {
background-color: #333; /* Background color */
color: #fff; /* Text color */
padding: 20px; /* Padding for the content inside the footer */
text-align: center; /* Center align text */
position: absolute;
bottom: 0;
width: 100%;
}
/* Style for the footer text */
footer p {
margin: 0; /* Remove default margin */
}
</style>
</head>
<body>
<header>
<h1>Bike Rentals</h1>
</header>
<nav>
<a href="index.html">Home</a> |
<a href="rentals.html">Rentals</a> |
<a href="contact.html">Contact</a>
</nav>
<section>
<h2>Welcome to Bike Rentals!</h2>
<p>Explore our range of bikes available for rent and enjoy your ride.</p>
</section>
<footer>
<p>© 2024 Bike Rentals. All rights reserved.</p>
</footer>
</body>
</html>