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.

Example:

<table border=1>
             <tr><td> Row Data </td></tr>
             <tr><td> Row Data </td></tr>
           </table>
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
<table>
<tr bgcolor='#f1f1f1'><td>Data here</td></tr>
<tr><td>Data here</td></tr>
</table>
Output is here
Data here
Data here


plus2net.com




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-2020 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer