CoderTools Web site

HTML Table Rows - <tr>


To define a row in a table you use the <tr> tag.

Example for <tr>

For example:

        <table border="1">
                <td>row 1 column 1</td>
                <td>row 1 colum 2</td>
                <td>row 2 column 1</td>
                <td>row 2 colum 2</td>
        </table>Give it a go!


Name Values Description
align left|center|right align the contents of the cells in the row to the left center or right of the table
bgcolor #rrggbb or color name specifies the background color of the row. This overrides the bgcolor of the table element.
valign top|middle|bottom|baseline specifies the vertical alignment of the cells content within the row.

12/16/2017 11:31:13 AM
Terms Of Use | Privacy Statement | Copyright 2006-2015 © Independence Software LLP