| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 | 
							- <!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> 
 
-         div{
 
-             background: red;
 
-             width: 200px;
 
-             height: 200px;
 
-             display: inline-block;
 
-         }
 
-         h1{
 
-             background: blue;
 
-             width: 300px;
 
-             height: 300px;
 
-             display: inline-block;
 
-         }
 
-         span{
 
-             background: green;
 
-             width: 200px;
 
-             height: 200px;
 
-         }
 
-    
 
-     </style>
 
- </head>
 
- <body>
 
-     <!--    
 
-         块级元素 
 
-             自己占一行 可以设置宽高
 
-             h1-h6 p ul li div 
 
-         行级元素 
 
-             多个占一行 不能设置宽高
 
-             span a stong i b 
 
-         行级块元素  多个占一行  可以设置宽高
 
-             button input 
 
-         display:  block块级元素|inline行级元素|inline-block行级块元素|none隐藏
 
-         
 
-     -->
 
-     <div>哈哈哈</div>
 
-     <h1>ghdshgfsdhgf</h1>
 
-     <span>呵呵呵呵呵呵呵</span> <span>hahahhahahah</span>
 
-     <input type="text">
 
-     
 
- </body>
 
- </html>
 
 
  |