How to realize the multi-level arrangement of table contents?

May.30,2022

set the colspan or rowspan properties of the cell (td).

example

        <table border="3">
            <tr>
                <td colspan="2">A1</td>
                <td>A3</td>
            </tr>
            <tr>
                <td>B1</td>
                <td>B2</td>
                <td>B3</td>
            </tr>
            <tr>
                <td rowspan="2">C1</td>
                <td>C2</td>
                <td>C3</td>
            </tr>
            <tr>
                <td>D2</td>
                <td>D3</td>
            </tr>
        </table>


html
https://ueditor.baidu.com/web...
clipboard.png

Menu