zoukankan      html  css  js  c++  java
  • 表格的标题

    <th>元素和<td>元素的用法一样,但它的作用是表示列或行的标题

    <!DOCTYPE html>
    <!--
    To change this license header, choose License Headers in Project Properties.
    To change this template file, choose Tools | Templates
    and open the template in the editor.
    -->
    <html>
        <head>
            <title>TODO supply a title</title>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
        </head>
        <body>
            <div>TODO write content</div>
            <table>
                <tr>
                    <th></th>
                    <th scope="col">标题</th>
                    <th scope="col">标题</th>
                </tr>
                <tr>
                    <th scope="row">标题</th>
                    <td内容</td>
                    <td>内容</td>
                </tr>
                <tr>
                    <th scope="row">标题</th>
                    <td>内容</td>
                    <td>内容</td>
                </tr>
            </table>
        </body>
    </html>
    
  • 相关阅读:
    linux-命令
    linux-命令-cd,ls
    linux-命令-概述
    linux-文件
    IOPS和带宽
    随记
    CAP,Base原理
    DateUtil
    JDK SPI
    001-进程 和 线程
  • 原文地址:https://www.cnblogs.com/q2546/p/9360384.html
Copyright © 2011-2022 走看看