效果:
![](https://i-blog.csdnimg.cn/direct/7eeea04d1e234253a89e1435a3c69c00.png)
<!DOCTYPE html>
<html lang="zh">
<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;
background-color: #f4f4f4;
margin: 0;
padding: 20px;
}
.container {
max-width: 600px;
margin: auto;
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #333;
}
p {
line-height: 1.6;
color: #555;
}
.profile-image {
display: block;
margin: 0 auto 20px;
border-radius: 50%;
width: 150px;
height: 150px;
}
.contact {
margin-top: 20px;
text-align: center;
}
a {
text-decoration: none;
color: #007BFF;
}
a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="container">
<img src="your-profile-picture.jpg" alt="个人头像" class="profile-image"/>
<h1>你好,我是 [你的名字]</h1>
<p>我是一名热爱编程的开发者,专注于前端开发和用户体验设计。我喜欢学习新技术,并将其应用于实际项目中,以提升产品质量。</p>
<p>在业余时间,我喜欢阅读、旅行和摄影,探索世界的美好。</p>
<div class="contact">
<h3>联系方式</h3>
<p>Email: <a href="mailto:[email protected]">[email protected]</a></p>
<p>LinkedIn: <a href="https://www.linkedin.com/in/your-profile" target="_blank">linkedin.com/in/your-profile</a></p>
</div>
</div>
</body>
</html>