标准文档流 网页中各种元素默认排版布局特点 块级元素display:block 主要用于划分区块的元素 <style> div { width: 100px; height: 100px; line-height: 100px; text-align: center; background: #ff0 } p { width: 80px; height: 80px; line-height: 80px; text-align: center; background: #cf6 } </style> </head> <body> <div>我是div</div> <p>我是p</p>