Blogger Information
Blog 23
fans 1
comment 0
visits 29689
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
制作一张商品信息表, 要求用到标题, 头部与底部, 行与列方向的合并
Liu
Original
765 people have browsed it

实例

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>table表格信息</title>
</head>
<body>
<table border="1" cellspacing="0" cellpadding="5">
    <caption>商品信息表</caption>
    <thead>
    <tr bgcolor="#deb887">
        <th>序列号</th>
        <th>商品名称</th>
        <th>类型</th>
        <th>数量</th>
        <th>单价</th>

    </tr>
    </thead>
    <tbody>
    <tr>
        <td align="center">1</td>
        <td align="center">Nick</td>
        <td align="center">背包</td>
        <td align="center">1</td>
        <td align="center">¥199.00</td>

    </tr>
    <tr>
        <td align="center">2</td>
        <td align="center">华为</td>
        <td align="center">Mate 30Pro</td>
        <td align="center">1</td>
        <td align="center">¥8688.00</td>

    </tr>
    <tr>
        <td align="center">3</td>
        <td align="center">Lenovo</td>
        <td align="center">ThinkPad X1</td>
        <td align="center">1</td>
        <td align="center">¥18999.00</td>
    </tr>
    <tr>
        <td align="center">4</td>
        <td align="center">大众</td>
        <td align="center">途观L</td>
        <td align="center">1</td>
        <td align="center">¥280000.00</td>

    </tr>
    </tbody>
    <tfoot>
        <tr>
            <td colspan="3" align="center">统计</td>
            <td align="center">1</td>
            <td align="center">¥307886.00</td>
        </tr>
    </tfoot>
</table>
</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例

Correction status:qualified

Teacher's comments:合格
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post