table content and table elements". The tr tag defines rows in an HTML table. A tr element contains one or more th or td elements."/> table content and table elements". The tr tag defines rows in an HTML table. A tr element contains one or more th or td elements.">

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

What does tr mean in css

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-07-26 11:29:086574browse

在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>

效果

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!

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