標籤:style article top color cti 部分 內容 meta oom
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title> </title><script>document。createElement("header");document.createElement("article");document.createElement("aside");document.createElement("section");document.createElement("footer");</script><style>body{margin:0;}header{height: 100px; background: #9F3; display: block;}article{padding:10px; background: #CF6; overflow: hidden; zoom:1; position: relative; display: block;}section{margin-left:210px; background:#F90; height:300px; width: 800px; position: absolute; left: 10px;top: 10px; display: block;}aside{width:200px; height:300px; background: #F90; height:300px; display: block;}footer{height:100px; background: #C6C; display: block;}</style></head><body> <header>頁面頭部部分</header><article> <aside>側邊欄</aside> <section>內容地區</section></article><footer>內容部分</footer></body></html>
相容ie 6 7 8
html5新增標籤及相容