-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex1.html
More file actions
139 lines (115 loc) · 3.52 KB
/
index1.html
File metadata and controls
139 lines (115 loc) · 3.52 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Car Rental Service</title>
<style>
body {
background-image: url('background-image.jpg'); /* Replace with your image URL */
background-size: cover;
margin: 0;
font-family: Arial, sans-serif;
}
header, footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px;
}
nav {
background-color: #444;
padding: 10px;
}
nav a {
color: #fff;
text-decoration: none;
margin: 0 15px;
}
section {
padding: 20px;
color: #333;
}
.container {
width: 80%;
margin: auto;
}
form {
margin-top: 20px;
}
label {
display: block;
margin-bottom: 5px;
}
input, select {
width: 100%;
padding: 8px;
margin-bottom: 10px;
box-sizing: border-box;
}
button {
background-color: #4CAF50;
color: #fff;
padding: 10px;
border: none;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
img {
max-width: 100%;
height: auto;
}
</style>
</head>
<body>
<header>
<h1>Car Rental Service</h1>
</header>
<nav>
<a href="#">Home</a>
<a href="#">Cars</a>
<a href="#">About Us</a>
<a href="#">Contact</a>
</nav>
<section class="container">
<h2>Welcome to our Car Rental Service</h2>
<p>Explore our fleet of high-quality cars for your travel needs.</p>
<form>
<label for="pickupLocation">Pickup Location</label>
<input type="text" id="pickupLocation" name="pickupLocation" required>
<label for="dropOffLocation">Drop-off Location</label>
<input type="text" id="dropOffLocation" name="dropOffLocation" required>
<label for="carType">Car Type</label>
<select id="carType" name="carType">
<option value="sedan">Sedan</option>
<option value="suv">SUV</option>
<option value="convertible">Convertible</option>
</select>
<button type="submit" style="color: rgb(255, 255, 255); background-color: rgb(76, 175, 80);">
Search Cars
</button>
</form>
<h3>Our Services</h3>
<ul>
<li>Wide range of cars to choose from</li>
<li>Flexible rental options</li>
<li>24/7 customer support</li>
</ul>
<h3>Featured Cars</h3>
<img src="car1.jpg" alt="Car 1">
<p>Description of Car 1.</p>
<img src="car2.jpg" alt="Car 2">
<p>Description of Car 2.</p>
<h3>Watch Our Video</h3>
<video width="640" height="360" controls>
<source src="video.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</section>
<footer>
<p>© 2023 Car Rental Service. All rights reserved.</p>
</footer>
</body>
</html>