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

Table Data Cell

Your Rating


Post Comment This is for short comments only. Use the forum for more discussions.

HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us
©2000-2017 All rights reserved worldwide Privacy Policy Disclaimer