zoukankan      html  css  js  c++  java
  • 【HTML】Advanced3:Tables: Columns, Headers, and Footers

    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>
    
  • 相关阅读:
    LeetCode OJ
    LeetCode OJ
    LeetCode OJ
    linux tips
    vim more
    vim basic
    cut
    paste
    uniq
    Linux的用户
  • 原文地址:https://www.cnblogs.com/yzhen/p/3670284.html
Copyright © 2011-2022 走看看