1.HTML新增标签带来的是网页布局的改变提升,对搜索引擎的友好。
2.新增结构型标签:(有意义的div)
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
*{margin:0;padding:0;}
header{height:100px; background:#f00;}
nav{height:100px;background:#0f0;}
section{height:900px; width:1000px; background:#ff0; margin:0 auto;}
article{height:200px; width:200px; background:#00CCFF; float:left;}
aside{width:200px; height:200px; background:#00FF00; float:left;}
hgroup{width:200px; height:200px; background:#00FFFF; float:left;}
figure{width:200px; height:200px; background:#008000; clear:both;}
figcaption{width:200px;height:200px; background:#0000FF;}
footer{height:100px; background:#00f;}
</style>
</head>
<body>
<header></header>
<nav></nav>
<section>
<article></article>
<aside></aside>
<hgroup></hgroup>
<figure></figure>
<figcaption></figcaption>
</section>
<footer></footer>
</body>
</html>