<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
header{
width: 1000px;
height: 100px;
background-color: #ccc;
margin: 0 auto;
}
header .logo{
float: left;
width: 100px;
height: 40px;
background-color: purple;
}
header nav{
float: right;
width: 600px;
height: 40px;
background-color: pink;
}
section{
width: 1000px;
height: 500px;
margin: 0 auto;
margin-top: 10px;
}
section.content aside{
float: left;
width: 250px;
height: 500px;
background-color: yellowgreen;
}
section.content article{
float: right;
width: 740px;
height: 500px;
background-color: skyblue;
}
footer{
width: 1000px;
height: 50px;
background-color: navy;
margin: 10px auto;
}
</style>
</head>
<body>
<header>
<div class="logo"></div>
<nav></nav>
</header>
<section class="content">
<aside>
我是广告
</aside>
<article>
<hgroup>
<h1>文章标题</h1>
<h2>我是副标题</h2>
</hgroup>
<p>内容正文</p>
<p>内容正文</p>
<p>内容正文</p>
<p>内容正文</p>
</article>
</section>
<footer>
</footer>
</body>
</html>