学写网页 #06# table

A B
E C
D

 

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title></title>
        <style type="text/css">
            td {
                height: 100px;
                width: 100px;
                text-align: center;
                font-weight: bold;
            }
        </style>
    </head>

    <body>
        <table border="1">
            <tr>
                <td rowspan="2" id="a">A</td>
                <td colspan="2" id="b">B</td>
            </tr>
            <tr>
                <td id="d">E</td>
                <td rowspan="2" id="c">C</td>
            </tr>
            <tr>
                <td colspan="2" id="d">D</td>
            </tr>
        </table>
    </body>
</html>

 

posted @ 2018-09-10 21:11  xkfx  阅读(130)  评论(0编辑  收藏  举报