html网页设计代码范文
<!DOCTYPE html>
<html>
<head>
<title>HTML网页设计范文</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f6f6f6;
}
h1 {
text-align: center;
color: #333333;
}
p {
color: #666666;
}
.container {
width: 70%;
margin: 0 auto;
background-color: #ffffff;
padding: 20px;
margin-top: 50px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
</style>
</head>
<body>
<div class="container">
<h1>Welcome to My Website</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in fermentum enim. Ut faucibus ligula sit amet dui porttitor, ac laoreet purus tincidunt. Aliquam et posuere eros, id pretium ipsum.</p>
<p>Curabitur molestie est id ligula scelerisque facilisis. Nulla mollis nibh nec imperdiet eleifend. Nam vel pulvinar ipsum. Vestibulum at vehicula ante.</p>
<h2>About Me</h2>
<p>Mauris consectetur elit nec risus convallis convallis vel at neque. Morbi et sollicitudin felis. Suspendisse id ipsum id ante tempus semper. Nullam pulvinar ligula magna, sed lobortis mi volutpat vel.</p>
<h2>My Hobbies</h2>
<ol>
<li>Reading books</li>
<li>Playing musical instruments</li>
<li>Traveling</li>
</ol>
<h2>Contact Me</h2>
90设计网 <ul>
<li>Email: *******************</li>
<li>Phone: 123-456-7890</li>
</ul>
</div>
</body>
</html>
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论