Site hosted by Angelfire.com: Build your free website today!
 

the tr tag and table row

tables part 3 the table row, the tr tag

on this page we look at the <tr> tag

lets go back to our original table
my first table

<TABLE border="1"> <TR> <TD>my first table</TD> </TR> </TABLE>

now lets add another table row, all we need do is
copy everything between the <tr> and </tr> tags
and paste it in beween </tr> and </TABLE>

<TABLE border="1"> <TR> <TD>my first table</TD> </TR> <TR> <TD>my first table</TD> </TR> </TABLE>

this is the result
my first table
my first table


to summarise all we did to create a new row was add another set of <tr> </tr> tags with another cell between them


html tutorial    html tutorial    html tables tutorial    next :
previous :
colspan tutorial
the td tag


html tutorial css tutorial javascript webmaster articles link exchange

html tutorial

make money
from your website