<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>我的个人网页</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
header {
background-color: #333;
color: #fff;
padding: 20px 0;
text-align: center;
}
section {
padding: 20px;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px 0;
position: fixed;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<header>
<h1>欢迎来到我的个人网页</h1>
</header>
<section>
<h2>关于我</h2>
<p>你好!我是[你的姓名],欢迎来到我的个人网页。</p>
<p>在这里,我会分享一些关于我的信息,以及我的兴趣爱好。</p>
</section>
<section>
<h2>个人资料</h2>
<p><strong>姓名:</strong>[你的姓名]</p>
<p><strong>邮箱:</strong>[你的邮箱]</p>
<p><strong>电话:</strong>[你的电话]</p>
</section>
<footer>
<p>版权所有 © 2024 我的个人网页</p>
</footer>
</body>
</html>
制作一个简单的HTML个人网页
最新推荐文章于 2024-03-23 13:43:52 发布