Home > Web Front-end > HTML Tutorial > How to use html tr tag

How to use html tr tag

silencement
Release: 2019-05-27 13:09:47
Original
4326 people have browsed it

How to use html tr tag

html 标签定义及使用说明

标签定义 HTML 表格中的行。

一个 元素包含一个或多个 或 元素。

实例,一个简单的html表格,包含两列两行

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

HTML 4.01 与 HTML5之间的差异

在 HTML 5 中,不支持 标签在 HTML 4.01 中的任何属性。

全局属性

标签支持 HTML 的全局属性。

事件属性

标签支持 HTML 的事件属性。

The above is the detailed content of How to use html tr tag. 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