Pr.Pg Next Pg

<TR> </TR> Table Row tutorials

  • This is a paired tag. It requires opening and closing tags.

  • This stands for Table Row. This tag is used to display text in within row.

  • All table cells on single row must be created within these two tags.

<TR> tag has attribute ALIGN and VALIGN.

 

Sr No

Attributes

Descriptions

1

ALIGN

This attribute of <TR> tag element adjust the content of row horizontally to LEFT / CENTER or RIGHT.

2

VALIGN

This attribute of <TR> tag element adjust the content of row Vertically to TOP / MIDDLE or BOTTOM

 

Syntax:

<body>

<table>

<tr><td>column data</td></tr>

</table>

</body>

 

Example: HTML program to demonstrate table rows attributes TR

Output:
Example: HTML program to demonstrate table rows attributes TR

Output:
Pr.Pg border                                              Next Pg