写一个完整的个人风格网页
时间: 2023-09-30 14:07:27 浏览: 34
很荣幸能够为您提供一个简单的个人风格网页的示例代码。以下是一个包含基本信息、技能、项目和联系方式的网页示例:
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>个人网页</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
h1 {
margin: 0;
}
h2 {
margin-top: 40px;
}
section {
padding: 20px;
max-width: 800px;
margin: 0 auto;
}
ul {
list-style: none;
padding: 0;
margin: 0;
}
li {
margin-bottom: 10px;
}
.skills ul {
column-count: 2;
column-gap: 30px;
}
.project {
margin-bottom: 40px;
}
.project h3 {
margin-top: 0;
}
.contact {
background-color: #f5f5f5;
padding: 20px;
text-align: center;
}
.contact a {
color: #333;
}
</style>
</head>
<body>
<header>
<h1>你的名字</h1>
<p>你的职业</p>
</header>
<section class="about">
<h2>个人简介</h2>
<p>你的个人简介,可以写自己的故事、经历、兴趣爱好等内容。</p>
</section>
<section class="skills">
<h2>技能</h2>
<ul>
<li>技能1</li>
<li>技能2</li>
<li>技能3</li>
<li>技能4</li>
<li>技能5</li>
<li>技能6</li>
</ul>
</section>
<section class="projects">
<h2>项目经历</h2>
<div class="project">
<h3>项目1</h3>
<p>项目描述,可以写自己参与过的项目、实习经历等。</p>
</div>
<div class="project">
<h3>项目2</h3>
<p>项目描述,可以写自己参与过的项目、实习经历等。</p>
</div>
</section>
<section class="contact">
<h2>联系方式</h2>
<p>你的联系方式,可以包括邮箱、电话、社交媒体账号等。</p>
<p><a href="#">邮箱</a> | <a href="#">电话</a> | <a href="#">社交媒体账号</a></p>
</section>
</body>
</html>
```
以上代码只是一个简单的示例,您可以根据自己的需求自由修改样式和内容,实现一个符合自己风格的个人网页。