Tables

Html   Index Page   Color   Images  
Lists   Red Hot Chili Peppers  

Tags

Table tag: < table > < /table >
Rows: < tr > < /tr >
Each space on the table needs: < tb > < /tb >
Border tag: < table border="2" >
More space: < Width="50%" >
Cell padding: < cellpadding="20" >
Cell spacing: < cellspacing="20" >
*Cell spacing puts space between each cell.
*Cell padding puts space around the content of the cell.
Often, you want your table to be flexible, in that you can customize how big of cells you want.
Rowspan- You are dealing with a row, but you are actually just cutting out the collums.
colspan- It spans across the collums and makes it look more neat.
Rowspan tag: <rowspan="3">
Colspan tag: <colspan="3">
To align the title: >align="center"<
To put a picture in the cell use: < img src="pics/name" >
1 2 3
1 2 3
1 2 3


To change the color of a row: < tr bgcolor="#FFFF00" >
To change the color of a cell: < td bgcolor="#FFFF00" >
1 2 3
1 2 3
1 2 3


Often, you want your table to be flexible, in that you can customize how big of cells you want.
Rowspan- You are dealing with a row, but you are actually just cutting out the collums.
colspan- It spans across the collums and makes it look more neat.
Rowspan tag: <rowspan="3">
Colspan tag: <colspan="3">
To align the title: <align="center">

1
1 2 3
1 2 3


To Take out a verticle section, use the Rowspan tag.
1 2 3
1 2 3
1 2 3


Sports Teams
NBA Basketball: Dallas Mavericks LA Lakers
NFL Football: Dallas Cowboys Atlanta Falcons
NCAAM Basketball: Villanova Kansas St.


Page created by Michael Collins
March 2010