|
|
|
|
TUTORIALS
Tables
Tables are just a way of organizing groups of text and images within your page. Table format: <table> Within the table there are rows of table data: <tr> defines a table row. Within the table data cells you will place text and images: <td> defines a table data cell. To create the table you think in terms of how you want your images and text to align. To create a three column page you would simply use three table data cells within one row: <table> - to begin a new table <tr> - to begin a new row <td> - to begin a new data cell Stuff you want to go in this cell goes here then... </td> - to close the data cell </tr> - to close the row </table> - to close the table To create a three row page, each row holding the entire table width, you would create one row, then a table data cell with your stuff in it, then another row, etc. To create cells that span across the width or height of other cells you would use the command, "rowspan" or "colspan" when creating the cell that spans. And this is how the page looks to the world: Tables Sample Web Page When you look at the page source by going to the menu and clicking on "View -> Source", you can see the tables sample web page code. |