<tr> tag in HTML

The <tr> tag is used to define a single row in an HTML table. The <tr> element used as a parent element of one or more <th> element or <td> element.

Important Description

  • Open and close tag required of <tr> element.
  • The <tr> tag is a direct child of a <table> tag.

Example of <tr> tag

<tr> Tag Browser Support

Element Chrome Edge Firefox Safari Opera
<tr> Yes Yes Yes Yes Yes

Global Attributes

Event Attributes

Attributes

The "align", "charoff", and "charoff" attributes are not supported in HTML5:

Attribute Value Description
align right
left
center
justify
char
Align attribute specifies the content in a table row
charoff number Charoff attribute Sets the number of characters the content will be aligned from the character
charoff top
middle
bottom
baseline
Valign attribute define a vertical aligns the content in a table row

Email Us: advertise@gdatamart.com

Donate Us: Support to GDATAMART

© 2023 GDATAMART.COM (All Rights Reserved)