只用table
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>首页</title>
</head>
<body>
<table>
<table width="100%" cellspacing="0">
<tr>
<td align="left">
<img src="../img/logo2.png" height="50px">
</td>
<td align="center">
<img src="../img/header.jpg" >
</td>
<td align="right">
<a href="#">登入</a>
<a href="#">注册</a>
<a href="#">购物车</a>
</td>
</tr>
</table>
<table width="100%" bgcolor="black" >
<tr >
<td align="center"><a href="#"><font color="white">首页</font></a></td>
<td align="center"><a href="#"><font color="white">手机数码</font></a></td>
<td align="center"><a href="#"><font color="white">鞋靴箱包</font></a></td>
<td align="center"><a href="#"><font color="white">电脑办公</font></a></td>
<td align="center"><a href="#"><font color="white">香烟酒水</font></a></td>
</tr>
</table>
<tr>
<td align="center">
<img src="../img/1.jpg" width="100%">
</td>
</tr>
<tr>
<td>
<h3>最新商品<img src="../img/title2.jpg"></h3>
</td>
</tr>
<tr>
<td >
<table width="100%">
<tr>
<td rowspan="2" height="480px" width="206px">
<img src="../products/hao/big01.jpg" >
</td>
<td colspan="3" height="240px" >
<img src="../products/hao/middle01.jpg" height="240px" width="100%">
</td>
<td>
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p><font color="red">$1000</font></p>
</td>
<td>
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p><font color="red">$1000</font></p>
</td>
<td>
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p><font color="red">$1000</font></p>
</td>
</tr>
<tr align="center">
<td>
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p><font color="red">$1000</font></p>
</td>
<td>
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p><font color="red">$1000</font></p>
</td>
<td>
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p><font color="red">$1000</font></p>
</td>
<td>
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p><font color="red">$1000</font></p>
</td>
<td>
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p><font color="red">$1000</font></p>
</td>
<td>
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p><font color="red">$1000</font></p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img src="../products/hao/ad.jpg" width="100%">
</td>
</tr>
<tr>
<td>
<img src="../img/footer.jpg" width="100%">
</td>
</tr>
<tr>
<td>
<table width="100%">
<tr align="center">
<td >
<a href="#">关于我们</a>
<a href="#">联系我们</a>
<a href="#">招贤纳士</a>
<a href="#">法律声明</a>
<a href="#">友情连接</a>
<a href="#">支付方式</a>
<a href="#">配送方式</a>
<a href="#">服务声明</a>
<a href="#">广告声明</a>
</td>
</tr>
<tr align="center">
<td>Copyright@2019-2039中软国际 版权所有</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
用上了css
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>首页</title>
<style>
.logo{
float: left;
width: 33%;
height: 60px;
line-height: 60px;
}
.menu{
width: 18%;
display: inline-block;
text-align: center;
text-decoration: none;
line-height: 50px;
height: 50px;
}
.product{
float: left;
text-align: center;
width: 16.6%;
height: 240px;
}
</style>
</head>
<body>
<div>
<div>
<div class="logo">
<img src="../img/logo2.png" height="50px">
</div>
<div class="logo" align="center">
<img src="../img/header.jpg">
</div>
<div class="logo" align="right">
<a href="#">登入</a>
<a href="#">注册</a>
<a href="#">购物车</a>
</div>
</div>
<div style="clear: both"></div>
<div style="background-color: black;height: 50px">
<a href="#" class="menu"><font color="white">首页</font></a>
<a href="#" class="menu"><font color="white">手机数码</font></a>
<a href="#" class="menu"><font color="white">鞋靴箱包</font></a>
<a href="#" class="menu"><font color="white">电脑办公</font></a>
<a href="#" class="menu"><font color="white">香烟酒水</font></a>
</div>
<div>
<img src="../img/1.jpg" width="100%">
</div>
<div>
<div><h2>最新商品<img src="../img/title2.jpg"></h2></div>
<div style="float: left;height: 480px">
<img src="../products/hao/big01.jpg">
</div>
<div style="float: left;height: 480px;width: 80%">
<div style="float: left;width: 50%;height: 240px">
<img src="../products/hao/middle01.jpg" width="100%" height="100%">
</div>
<div class="product">
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p style="color: red;">$999</p>
</div>
<div class="product">
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p style="color: red;">$999</p>
</div>
<div class="product">
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p style="color: red;">$999</p>
</div>
<div class="product">
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p style="color: red;">$999</p>
</div>
<div class="product">
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p style="color: red;">$999</p>
</div>
<div class="product">
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p style="color: red;">$999</p>
</div>
<div class="product">
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p style="color: red;">$999</p>
</div>
<div class="product">
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p style="color: red;">$999</p>
</div>
<div class="product">
<img src="../products/hao/small06.jpg">
<p>洗衣机</p>
<p style="color: red;">$999</p>
</div>
</div>
</div>
<div>
<img src="../products/hao/ad.jpg" width="100%">
</div>
<div>
<img src="../img/footer.jpg" width="100%">
</div>
<div style="text-align: center">
<a href="#">关于我们</a>
<a href="#">关于我们</a>
<a href="#">关于我们</a>
<a href="#">关于我们</a>
<a href="#">关于我们</a>
<a href="#">关于我们</a>
</div>
<div style="text-align: center">
Copyright @ 2019-2039 中软国际 版权所有
</div>
</div>
</body>
</html>