Home > Web Front-end > HTML Tutorial > Html learning (4) - table tags

Html learning (4) - table tags

黄舟
Release: 2016-12-29 15:32:34
Original
1263 people have browsed it

Table tag

Composition:

Title tag:

<caption>
Copy after login

, provides a title for the table.

Header tag:

<th>
Copy after login

. Generally, the first row or column of the table is formatted and displayed in bold.

Row label:

<tr>
Copy after login

Cell label:

<td>
Copy after login

, added to the row label. Add cells to rows.

[code]


    
        
        table
        

    

    

        
                <tr>
                    
                    <td>张三
                <tr>
                    <td>30
个人信息

<tr> <tr> <td>张三 <td>30
个人信息

<caption>表格标题 <tr> <th>姓名: <th>年龄: <tr> <td>张三 <td>39
Copy after login

Html learning (4) - table tags


The above is the content of Html learning (4) - table tags. For more related content, please pay attention to the PHP Chinese website (www. php.cn)!


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template