html5新增语义化标签
作者:
琪33 | 来源:发表于
2018-04-20 10:52 被阅读0次<style>
header {
width:1000px;
height: 100px;
background-color: pink;
margin: 0 auto;
}
nav {
width:1000px;
height: 60px;
background-color: blue;
margin: 0 auto;
}
section {
width: 1000px;
height: 400px;
background-color:#eee;
margin: 0 auto;
}
section aside {
float: left;
width: 400px;
height: 400px;
background-color:red;
}
section article {
float: right;
width: 600px;
height: 400px;
background-color:green;
}
footer {
width: 1000px;
height: 100px;
background-color:#333;
margin: 0 auto;
}
</style>
</head>
<body>
<header>header</header>
<nav>nav</nav>
<section>
<aside>aside</aside>
<article>article</article>
</section>
<footer>footer</footer>
</body>
本文标题:html5新增语义化标签
本文链接:https://www.haomeiwen.com/subject/pbdakftx.html
网友评论