用Hbuilder写一个关于介绍泰山的主页
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>泰山介绍</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
<pre><code> header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
h1 {
font-size: 28px;
margin: 0;
}
p {
font-size: 16px;
margin: 20px 0;
}
img {
max-width: 100%;
height: auto;
}
section {
margin: 20px;
}
footer {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
}
</style>
</code></pre>
</head>
<body>
<header>
<h1>泰山</h1>
</header>
<pre><code><section>
<h2>泰山概述</h2>
<p>泰山,位于中国山东省泰安市,是中国五岳之一,世界文化与自然双重遗产。海拔1545米,以其壮丽的自然景观和丰富的历史文化而闻名于世。</p>
<img src="https://example.com/taishan.jpg" alt="泰山图片">
</section>
<section>
<h2>历史文化</h2>
<p>泰山是中国古代文化的象征之一,自古以来,无数文人墨客登山朝拜,留下了大量的文化遗迹和诗词作品。</p>
<p>泰山上有多个历史建筑和景点,如碧霞祠、玉皇顶、岱宗坊等,每年吸引着大量游客前来参观。</p>
</section>
<section>
<h2>自然景观</h2>
<p>泰山有着壮丽的自然景观,包括奇松、怪石、云海、日出等,给人一种宏伟而壮美的感觉。</p>
<p>登上泰山后,可以欣赏到美不胜收的景色,尤其是日出时的金光山海,被誉为“五岳独尊”。</p>
</section>
<footer>
<p>&copy; 2022 泰山旅游局. All rights reserved.</p>
</footer>
</code></pre>
</body>
</html>
原文地址: http://www.cveoy.top/t/topic/i4Q0 著作权归作者所有。请勿转载和采集!