截图

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>
最后修改:2019 年 11 月 02 日
如果觉得我的文章对你有用,请随意赞赏