我的博客网站:www.yqiu.top
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Name - Personal Website</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
padding: 0;
background-color: #f4f4f4;
color: #333;
}
header {
text-align: center;
padding: 20px;
background-color: #007bff;
color: #fff;
}
section {
margin: 20px 0;
}
h2 {
color: #007bff;
}
footer {
text-align: center;
padding: 10px;
background-color: #007bff;
color: #fff;
position: fixed;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<header>
<h1>Your Name</h1>
<p>Web Developer | Designer</p>
</header>
<section>
<h2>About Me</h2>
<p>Write a brief introduction about yourself here.</p>
</section>
<section>
<h2>Skills</h2>
<ul>
<li>HTML</li>
<li>CSS</li>
<li>JavaScript</li>
<!-- Add more skills as needed -->
</ul>
</section>
<section>
<h2>Projects</h2>
<p>Highlight some of your notable projects and provide brief descriptions.</p>
</section>
<footer>
<p>Contact: your.email@example.com | Follow me on Twitter: @yourtwitterhandle</p>
</footer>
</body>
</html>
你可以根据个人需要修改这个模板,例如替换"Your Name"、“Web Developer | Designer”、技能、项目信息以及联系方式等。此外,你也可以根据自己的审美喜好调整颜色、字体等样式。
将这段代码保存为.html文件,然后在浏览器中打开它,就可以看到简单的个人网页了。希望这能帮助你入门创建个人网页!