家乡介绍html代码简单
时间: 2023-07-29 13:07:55 浏览: 65
好的,以下是一个简单的家乡介绍网站的 HTML 代码,包含了至少五个页面:
1. 主页(index.html):
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>家乡介绍</title>
</head>
<body>
<h1>欢迎来到我的家乡</h1>
<a href="about.html">关于我们</a>
<a href="history.html">历史</a>
<a href="attractions.html">景点介绍</a>
<a href="contact.html">联系我们</a>
</body>
</html>
```
2. 关于页面(about.html):
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>关于我们</title>
</head>
<body>
<h1>关于我们</h1>
<p>我们是一家致力于推广家乡文化的组织。</p>
</body>
</html>
```
3. 历史页面(history.html):
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>历史</title>
</head>
<body>
<h1>历史</h1>
<p>我们的家乡有着悠久的历史和文化。</p>
</body>
</html>
```
4. 景点介绍页面(attractions.html):
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>景点介绍</title>
</head>
<body>
<h1>景点介绍</h1>
<ul>
<li>景点1</li>
<li>景点2</li>
<li>景点3</li>
</ul>
</body>
</html>
```
5. 联系我们页面(contact.html):
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>联系我们</title>
</head>
<body>
<h1>联系我们</h1>
<p>如有任何问题或建议,请随时联系我们。</p>
</body>
</html>
```
相关推荐
![md](https://img-home.csdnimg.cn/images/20210720083646.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.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)
![md](https://img-home.csdnimg.cn/images/20210720083646.png)
![md](https://img-home.csdnimg.cn/images/20210720083646.png)
![md](https://img-home.csdnimg.cn/images/20210720083646.png)
![md](https://img-home.csdnimg.cn/images/20210720083646.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![md](https://img-home.csdnimg.cn/images/20210720083646.png)