CoderTools Web site

HTML Table Rows - <tr>


Description


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

Example for <tr>



For example:

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

Attributes


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.

10/23/2017 12:49:37 AM
Terms Of Use | Privacy Statement | Copyright 2006-2015 © Independence Software LLP