1234567891011121314151617181920212223242526 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- <style>
- header{
- width: 200px;
- height: 200px;
- background: orange;
- }
- </style>
- </head>
- <body>
- <!-- 语义化标签 就是给标签赋予一定的含义 -->
- <header>1111</header> 定义头部
- <nav></nav> 定义导航栏
- <section></section> 定义某一块区域
- <article></article> 定义文章
- <aside></aside> 定义侧边栏
- <footer></footer> 定义页脚
- </body>
- </html>
|