經典網頁的布局練習
阿新 • • 發佈:2018-01-01
height nbsp lpad 練習 部分 pre 經典 span utf
<html> <head> <title>網頁的布局</title> <meta charset="utf-8"> </head> <body topmargin="0" leftmargin="0"> <table border="0" width="960" align="center" cellpadding="0" cellspacing="0"> <tr height="50" bgcolor="red"align="center"><td><font size="12" color="white">網頁的頂部</font></td></tr> <tr> <td> <table height="500" width="30%" align="left" bgcolor="yellow"> <tr> <td><font size="6" color="white">網頁的左部分</font></td> </tr> </table> <table height="500" width="70%" align="left" bgcolor="green"> <tr > <td><font size="6" color="white">網頁的右部分</font></td> </tr> </table> </td> </tr> <tr height="50" bgcolor="red" align="center"><td><font size="12" color="white">網頁的底部</font></td></tr> </table> </body> </html>
經典網頁的布局練習