".">
In HTML, td means "cell", which is used to define standard cells in HTML tables and can contain data; the td tag needs to be used together with table and tr tags, the syntax format is "< ;table>
..".
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
In HTML, td means "cell" and is used to define standard cells in HTML tables.
HTML tables have two types of cells:
Header cell - contains header information (created by the th element)
Standard cells - Contains data (created by td elements)
#Text in td elements is typically displayed in normal font and left-justified.
Example:
商品 | 价格 |
T恤 | ¥100 |
牛仔褂 | ¥250 |
牛仔库 | ¥150 |
Rendering:
#
tags can be set AttributeValue | Description | |
---|---|---|
text | Specifies an abbreviated version of the content in the cell.||
| Specifies the horizontal alignment of cell content.
||
category_name | Categories the units.||
|
Deprecated.Please use styles instead. Specifies the background color of the cell. |
|
character | Specifies which character should be used to align the content.||
number | Specifies the offset of the alignment character.||
number | Specifies the number of columns that a cell can span.||
header_cells'_id | Specifies the header related to the cell.||
|
Deprecated.Please use styles instead. Specifies the height of table cells. |
|
nowrap | Deprecated.Please use styles instead. Specifies whether the content in the cell should be wrapped. |
|
number | Specifies the number of rows that a cell can span.||
| Define the method to associate header data with unit data.
||
| Specifies the vertical arrangement of cell contents.
||
|
Deprecated.Please use styles instead. Specifies the width of table cells. |
html video tutorial"
The above is the detailed content of What does html td mean?. For more information, please follow other related articles on the PHP Chinese website!