Explain all the attribute of the <TR> tag along with an appropriate example.
Answers
Answered by
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
Science,
6 months ago
Math,
6 months ago
Social Sciences,
6 months ago
Biology,
1 year ago
Social Sciences,
1 year ago
Math,
1 year ago
Chemistry,
1 year ago