首页 > Web开发 > 详细

【HTML】Advanced3:Tables: Columns, Headers, and Footers

时间:2014-04-17 18:36:32      阅读:483      评论:0      收藏:0      [点我收藏+]

1.


<table>
    <colgroup>
        <col>
        <col class="alternative">
        <col>
    </colgroup>
    <tr>
        <td>This</td>
        <td>That</td>
        <td>The other</td>
    </tr>
    <tr>
        <td>Ladybird</td>
        <td>Locust</td>
        <td>Lunch</td>
    </tr>
</table>

2.<table>

<caption> **</caption>vs figcaption

caption-side:bottom;

 

3.


<table>
    <thead>
        <tr>
            <td>Header 1</td>
            <td>Header 2</td>
            <td>Header 3</td>
        </tr>
    </thead>
    <tfoot>
        <tr>
            <td>Footer 1</td>
            <td>Footer 2</td>
            <td>Footer 3</td>
        </tr>
    </tfoot>
    <tbody>
        <tr>
            <td>Cell 1</td>
            <td>Cell 2</td>
            <td>Cell 3</td>
        </tr>
        <!-- etc. -->
    </tbody>
</table>

【HTML】Advanced3:Tables: Columns, Headers, and Footers,布布扣,bubuko.com

【HTML】Advanced3:Tables: Columns, Headers, and Footers

原文:http://www.cnblogs.com/yzhen/p/3670284.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!