table标签最初的目的就是用来做网页的,只不过,就是现在网页编程技术不断提升,table标签已经用来做表格以及用于后台程序设计的时候使用。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>table</title>
    <style type="text/css">
    table{
        width: 960px;
        margin: 0px auto;
    }
    .nav{
        height: 35px;
        background-color: red;
    }
    .con{
        height: 500px;
        background-color: green;
    }
    .footer{
        height: 60px;
        background-color: orange;
    }
    </style>
</head>
<body>
<table>
    <tr>
        <td>
            <img src="logo1.jpg" alt="导航" />
        </td>
    </tr>
    <tr>
        <td class="nav">
            
        </td>
    </tr>
    <tr>
        <td class="con">
            
        </td>
    </tr>
    <tr>
        <td class="footer">
            
        </td>
    </tr>
</table>
</body>
</html>

 

table版网站首页制作

 

相关文章:

  • 2021-12-30
  • 2021-09-21
  • 2021-05-05
  • 2021-12-03
  • 2021-12-31
  • 2021-11-18
  • 2022-12-23
  • 2021-11-17
猜你喜欢
  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2021-06-08
  • 2021-11-16
  • 2021-05-30
相关资源
相似解决方案