欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

table合并列 博客分类: html html 

程序员文章站 2024-03-15 16:32:06
...
rowspan:合并行
colspan:合并列
<html>
<head>

</head>

<table border= "1 "   width= "200 " >

     <tr>
        <td   width= "25% ">   </td>  
        <td   width= "25% ">   </td>  
        <td   width= "25% ">   </td>  
        <td   width= "25% ">   </td> 
     </tr>

     <tr>
        <td   width= "25% " rowspan="2"  >   </td>  
        <td   width= "25% ">   </td>  
	

     </tr>
     <tr>
        <td   width= "25% ">   </td>  
        <td   width= "25% ">   </td>  
        <td   width= "25% ">   </td>  
	<td   width= "25% ">   </td> 
     </tr>
</table>

</html>
相关标签: html