自学HTML漫谈

入门基础 目前占坑 简单的更是深坑 以后慢慢补 

之前学过HTML  以为不重要 想要快速浏览一遍 发现只要上手一撸 那叫一个 惨绝人寰 一步一个坎 拿表格来说 table 虽说不是很难 但是<tr><th><td>层层嵌套 套中套的 起始懂得一点东西都绕懵了 于是乎敲了一遍在来一遍貌似理解了其中的一些当初不知所以得地方 其中收货的是table中<tr><td>的理解最多

!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>实战网页布局</title>
</head>
<table border="0" width="960" align="center" cellspacing="0" cellpadding="0">
<tr height="90" bgcolor="red" align="center">
<td><font size="6" color="white"><b>网页的头部</b></font></td>
</tr>
<tr>
<td>
<table height="500" width="30%" bgcolor="green" align="left">
<tr>
<td align="center"><font size="6 color="white"><b>网页左边的部分</b></font></td></tr>
</table>
<table height="500" width="70%" bgcolor="yellow" align="left">
<tr >
<td align="center"><font size="6 color="white"><b>网页右边的部分</b></font></td></tr>
</table>
</td>
</tr>
<tr height="90" bgcolor="red" align="center">
<td><font size="6" color="white"><b>网页的底部</b></font></td>
</tr>
</table>
<body>

</body>
</html>

原文地址:https://www.cnblogs.com/Liuxue/p/5967879.html