首页 > 代码库 > html与css随记

html与css随记

(1)表格形式:

<table>
    <thead>
        <tr>
            <th>1</th>
            <th>1</th>
            <th>1</th>
            <th>1</th>
        </tr>
    </thead>
    <tbody>
    <tr>
            <th>2</th>
            <th>2</th>
            <th>2</th>
            <th>2</th>
    </tr>
    <tr>
            <th>3</th>
            <th>3</th>
            <th>3</th>
            <th>3</th>
    </tr>
    <tr>
            <th>4</th>
            <th>4</th>
            <th>4</th>
            <th>4</th>
    </tr>
    </tbody>
</table>

 

html与css随记