垂直合并单元格 rowspan

85a6849644f84db2f78f12b15d25e7ee.png

知识点:

rowspan

用法

<td rowspan="3">11</td>

代码

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        <table border="1px" align="center" cellspacing="0" width="50%">
            <tr>
                <td colspan="5" align="center">1</td>
                <!-- <td>1</td>
                <td>1</td>
                <td>1</td>
                <td>1</td> -->
            </tr>
            
            <tr>
                <td rowspan="3">11</td>
                <td>1</td>
                <td>1</td>
                <td>1</td>
                <td rowspan="3">11</td>
            </tr>
            
            <tr>
                <!-- <td>22</td> -->
                <td>1</td>
                <td>1</td>
                <td>1</td>
                <!-- <td>22</td> -->
            </tr>
            
            <tr>
                <!-- <td>33</td> -->
                <td>1</td>
                <td>1</td>
                <td>1</td>
                <!-- <td>33</td> -->
            </tr>
            
            <tr>
                <td>44</td>
                <td>1</td>
                <td>1</td>
                <td>1</td>
                <td>44</td>
            </tr>
            
        </table>
    </body>
</html>
文章名: 《垂直合并单元格 rowspan》

本文链接:https://lula.fun/829.html

除特别注明外,文章均由 Lula(噜啦) 原创

 原创文章 转载时请注明 出处 以及文章链接
最后修改:2019 年 07 月 10 日 07 : 50 PM

发表评论