頁面結構分析
元素名 | 描述 |
---|---|
header | 標題頭部區域的內容(用于頁面或頁面中的一塊區域) |
footer | 標記腳部區域的內容(用于整個頁面或頁面的一塊區域) |
section | Web頁面的一塊獨立區域 |
article | 獨立的文章內容 |
aside | 相關的內容或應用(常用于側邊欄) |
nav | 導航類輔助內容 |
<!DOCTYPE html>
<html lang="en">
<head><meta charset="UTF-8"><title>頁面結構分析</title>
</head>
<body>
<header><h2>網頁頭部</h2></header>
<section><h2>網頁主體</h2></section>
<footer><h2>網頁腳部</h2></footer>
</body>
</html>