日期:2014-05-16  浏览次数:20744 次

html table行合并
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>test.html</title>

    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
   
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

  </head>
 
  <body>
        <table border="1" width="400">
   

     <tr>
        <td   width= "25% "rowspan="9">  华南 </td> 
        <td   width= "25% " rowspan="5">  广东 </td> 
        <td   width= "25% " rowspan="3">   广州市</td> 
<td   width= "25% ">   天河区</td>
     </tr>
     <tr>
        <td   width= "25% ">  越秀区 </td> 
     </tr>
<tr>
        <td   width= "25% ">  白云区 </td> 
     </tr>
<tr>
        <td   width= "25% " rowspan="2">   深圳市</td> 
<td   width= "25% ">   福田区</td>
     </tr>
<tr>
        <td   width= "25% ">  罗湖区 </td> 
     </tr>
<tr>
        <td   width= "25% " rowspan="4">  福建 </td> 
        <td   width= "25% " rowspan="2">   厦门市</td> 
<td   width= "25% ">   思明区</td>
     </tr>
<tr>
        <td   width= "25% ">  湖里区 </td> 
     </tr>
<tr>
<td   width= "25% " rowspan="2">   福州市</td>
        <td   width= "25% ">  老城区 </td> 
     </tr>
<tr>
        <td   width= "25% ">  新城区 </td> 
     </tr>
    </table>
  </body>
</html>