Home > php教程 > PHP开发 > What does mean in web pages?

What does mean in web pages?

高洛峰
Release: 2016-11-23 15:23:57
Original
24909 people have browsed it

th defines the header cell in the table.

There are two types of cells in the html form:

1: Header cell - contains header information (created by th element)

2: Standard cell - contains data (created by td element)

Note: Text inside a th element is usually rendered as centered bold text, while text inside a td element is usually left-aligned normal text.

The following is an example:

<table border="1">
  <tr>
    <th>名字</th>
    <th>电话</th>
  </tr>
 
  <tr>
    <td>甲</td>
    <td>45212154561</td>
  </tr>
</table>
Copy after login

The final output result is as follows:

What does <th></th> mean in web pages?

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template