Table Row

To add a row in a table, <tr> ... </tr> tags are used. TR stands for table row. In a table, for each row there will be a set of table row tags.


<table border=1>
             <tr><td> Row Data </td></tr>
             <tr><td> Row Data </td></tr>
Above code indicates a table with two rows. If any attributes are to be given, we can give them in the <tr> tag.

Background color

To add background color to any row like this
<tr bgcolor='#f1f1f1'><td>Data here</td></tr>
<tr><td>Data here</td></tr>
Output is here
Data here
Data here


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here .

    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 All rights reserved worldwide Privacy Policy Disclaimer