Home > Web Front-end > CSS Tutorial > What does tr mean in css

What does tr mean in css

醉折花枝作酒筹
Release: 2023-01-07 11:45:38
Original
6599 people have browsed it

在css中,tr的意思是表格中的行,语法格式为“

表格内容及表格元素”。tr标签定义HTML表格中的行,一个tr元素包含一个或多个th或td元素。

What does tr mean in css

本教程操作环境:windows7系统、CSS3&&HTML5版、Dell G3电脑。

标签定义 HTML 表格中的行。

tr 元素包含一个或多个 th 或 td 元素。

实例:

<html>
<body>

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

</body>
</html>
Copy after login

效果

What does tr mean in css

推荐学习:css视频教程

The above is the detailed content of What does tr mean in css. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
css
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