". The "" tag is used to define standard cells in HTML tables. HTML tables have two types of cells: header cells and standard cells. Where standard cells contain data, created by td elements."/> ". The "" tag is used to define standard cells in HTML tables. HTML tables have two types of cells: header cells and standard cells. Where standard cells contain data, created by td elements.">

Home >Web Front-end >HTML Tutorial >In html language, what is the mark of a cell?

In html language, what is the mark of a cell?

王林
王林Original
2020-07-15 14:09:5821603browse

在html语言中,单元格的标记是:“

”。“ ”标签用于定义HTML表格中的标准单元格。HTML表格有两类单元格分别是:表头单元和标准单元。其中标准单元包含数据,由td元素创建。

In html language, what is the mark of a cell?

在html语言中,单元格的标记是:

(推荐学习:html教程

标签介绍:

标签定义 HTML 表格中的标准单元格。

HTML 表格有两类单元格:

  • 表头单元 - 包含头部信息(由 th 元素创建)

  • 标准单元 - 包含数据(由 td 元素创建)

td 元素中的文本一般显示为正常字体且左对齐。

代码实现:

<table border="1">
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>    
    <td>January</td>
    <td>$100</td>
  </tr>
</table>

实现效果:

In html language, what is the mark of a cell?

The above is the detailed content of In html language, what is the mark of a cell?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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