CBSE BOARD X, asked by sainiaakarshita, 1 year ago

Explain all the attribute of the <TR> tag along with an appropriate example.

Answers

Answered by Anonymous
29

Attribute name Values Notes

<tr align="">

Sets the horizontal alignment for the contents of each <td> element in a table row.

<tr valign="">

Sets the vertical alignment of all content in a table row.

<tr bgcolor="">

Sets the background color for a single table row in an HTML table.

<tr background="">

Identifies the URL of a file to be used as a background image for a table row.

<tr bordercolor="">

Sets the border color for all inside borders of a table row.

<table style="width:100%">

<tr>

<th>Firstname</th>

<th>Lastname</th>

<th>Age</th>

</tr>

<tr>

<td>Jill</td>

<td>Smith</td>

<td>50</td>

</tr>

<tr>

<td>Eve</td>

<td>Jackson</td>

<td>94</td>

</tr>

</table>

Similar questions