Home > Web Front-end > HTML Tutorial > What does the tr tag stand for?

What does the tr tag stand for?

云罗郡主
Release: 2019-02-21 16:12:35
Original
22666 people have browsed it

tr标签代表什么

tr是一种HTML语言标签,代表HTML表格中的一行,tr标签是成对出现的,以开始,结束,并且tr元素包含一个或多个th或td元素。

html tr标签 语法

作用:定义 HTML 表格中的行。

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

注释:所有浏览器都支持 标签。

html tr标签 示例

<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


The above is the detailed content of What does the tr tag stand for?. For more information, please follow other related articles on the PHP Chinese website!

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