-
Notifications
You must be signed in to change notification settings - Fork 0
/
informationpage.html
82 lines (76 loc) · 3.53 KB
/
informationpage.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Top 5 Indian Car Companies Information</title>
<style>
body {
font-size: 30px;
background: #eaeaea;
border: 2px solid black;
border-radius: 5px;
padding: 20px;
text-align: center; /* Center align all text content */
}
.container {
max-width: 800px; /* Example of setting a maximum width for content */
margin: 0 auto; /* Center align the container */
text-align: left; /* Reset text alignment to left for content within container */
}
button {
background-color: grey;
width: 100%;
max-width: 200px; /* Example of setting a maximum width for the button */
margin: 20px auto; /* Center align the button */
}
.h1 {
font-style: italic;
color: brown;
font-size: 25px; /* Corrected unit */
text-align: center;
}
.h2 {
text-decoration: underline;
font-family: 'Arial', sans-serif; /* Example of specifying a font family */
color: #000080;
font-size: 30px;
font-variant: small-caps;
}
.car-info {
margin-bottom: 30px; /* Example of additional styling */
}
</style>
</head>
<body>
<div class="container">
<h1 class="h1">Top 5 Indian Car Companies Information</h1>
<div class="car-info">
<h2 class="h2"><a href="maruti.html">Maruti Suzuki</a></h2>
<img src="car1.png" alt="Maruti Suzuki car" width="40%" height="30%">
<p>Maruti Suzuki is the undisputed leader of the Indian car market, accounting for over 42% of the market share. They are known for their fuel-efficient and affordable cars.</p>
</div>
<div class="car-info">
<h2 class="h2">Hyundai Motors</h2>
<img src="car2.png" alt="Hyundai Motors car" width="40%" height="30%">
<p>Hyundai is a South Korean automaker that has become a major player in the Indian car market. They are known for their stylish and feature-packed vehicles.</p>
</div>
<div class="car-info">
<h2 class="h2">Tata Motors</h2>
<img src="car3.png" alt="Tata Motors car" width="40%" height="30%">
<p>Tata Motors is a leading Indian automaker that offers a wide range of vehicles, from budget-friendly hatchbacks to luxurious SUVs.</p>
</div>
<div class="car-info">
<h2 class="h2">Mahindra & Mahindra</h2>
<img src="car4.png" alt="Mahindra & Mahindra car" width="40%" height="30%">
<p>Mahindra is a renowned Indian car company known for its rugged and capable SUVs. They also offer a variety of other vehicles, including hatchbacks, sedans, and pick-up trucks.</p>
</div>
<div class="car-info">
<h2 class="h2">KIA</h2>
<img src="car5.png" alt="Kia car" width="40%" height="30%">
<p>Kia is a South Korean automaker that is a relatively new entrant to the Indian car market. However, they have quickly gained popularity for their stylish and feature-rich vehicles.</p>
</div>
<a href="carpage.html"><button>Go Back</button></a>
</div>
</body>
</html>