Initial HTML_ table

Html Form

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        <table border="1px" cellspacing="0px" align="center">
            <colgroup span="6" width="40px"></colgroup>
            <colgroup span="7" width="50px"></colgroup>
            <tr><th colspan="7">个人简历</th></tr>
            <tr align="center" height="20px">
                <td>姓名</td><td></td><td>性别</td><td></td><td></td><td></td><td rowspan="4">照片</td>
            </tr>
            <tr height="20px">
                <td></td><td></td><td></td><td></td><td></td><td></td>
            </tr>
            <tr height="20px">
                <td></td><td></td><td></td><td></td><td></td><td></td>
            </tr>
            <tr height="20px">
                <td >籍贯</td><td colspan="5"></td>
            </tr>
            <tr height="20px">
                <td></td><td></td><td></td><td></td><td></td><td></td><td></td>
            </tr>
        </table>
    </body>
</html>

    

1571813862407

  1. <table>**</table>

    Role: Create Table

  2. <tr></tr>

    Role: row of the table

  3. <td></td>

    Role: column of the table

  4. <th></th>

    Action: header, corresponding to <td align = "center"> <b> CV </ b> </ td>

  5. border

    Role: Table width

  6. colgroup

    Role: lash Group, span several columns consent application style

  7. align

    Role: table content is centered within

  8. rowspan

    Role: Merge column

  9. colspan

    Role: merge row

Guess you like

Origin www.cnblogs.com/SSPOFA/p/11726385.html