请参考网址https://www.car-vacation.com/e/action/ListInfo/?classid=16,写一个类似的html页面,要求给出完整的代码
时间: 2023-05-28 18:01:36 浏览: 76
<!DOCTYPE html>
<html>
<head>
<title>Car Vacation - Destinations</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<div class="container">
<h1>Car Vacation</h1>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="destinations.html">Destinations</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
</nav>
</div>
</header>
<section class="hero">
<div class="container">
<h2>Our Destinations</h2>
</div>
</section>
<section class="destinations">
<div class="container">
<h3>Popular Destinations</h3>
<ul>
<li>
<a href="#">
<img src="images/destination1.jpg" alt="Destination 1">
<div class="overlay">
<h4>Los Angeles</h4>
<p>Visit the Hollywood Walk of Fame or explore the beaches of Santa Monica</p>
</div>
</a>
</li>
<li>
<a href="#">
<img src="images/destination2.jpg" alt="Destination 2">
<div class="overlay">
<h4>New York City</h4>
<p>Experience the excitement of Times Square and the beauty of Central Park</p>
</div>
</a>
</li>
<li>
<a href="#">
<img src="images/destination3.jpg" alt="Destination 3">
<div class="overlay">
<h4>Las Vegas</h4>
<p>Try your luck at the casinos or take a day trip to the Grand Canyon</p>
</div>
</a>
</li>
<li>
<a href="#">
<img src="images/destination4.jpg" alt="Destination 4">
<div class="overlay">
<h4>Miami</h4>
<p>Soak up the sun on the beaches or explore the vibrant nightlife</p>
</div>
</a>
</li>
</ul>
<h3>Other Destinations</h3>
<ul>
<li><a href="#">San Francisco</a></li>
<li><a href="#">Chicago</a></li>
<li><a href="#">Seattle</a></li>
<li><a href="#">Boston</a></li>
<li><a href="#">Orlando</a></li>
<li><a href="#">Washington DC</a></li>
</ul>
</div>
</section>
<footer>
<div class="container">
<p>© 2020 Car Vacation</p>
</div>
</footer>
</body>
</html>
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)