做网页先布局,1.从上往下 2.然后从左往右 3.从大到小
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN"> 3 <head> 4 <title>用div来占块布局</title> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 </head> 7 <body> 8 <div></div> 9 <div></div> 10 <div></div> 11 </body> 12 </html>
时间: 2024-10-11 21:07:25