We define each row in an HTML table by a
<tr> tag. The
height of each row is automatically assigned depending on the amount of space
required to hold the contents of the tallest cell in the row plus the cell
padding. Though the height attributes in the <td> tag can be used to
adjust the height, if required, and we will discuss it in the upcoming section.
Below are the attributes which can be used with table rows:
- Align: Can be right, left, center or justify. Determines the horizontal alignment of text or images with the cells of the row. The default is left.
- Bgcolor: A color name, an RGB()value or a hex value (#xxxxxx). Specifies the background color of the row.
- Valign: Can be top, middle or bottom. Determines the vertical alignment of content in cells of the row. The default is middle.
Note
The align and bgcolor attributes of the
The align and bgcolor attributes of the
<tr> tag are not supported in XHTML.
0 comments:
Post a Comment