Doing TABLES Creating Tables in HTML
Start creating the table by using the Table container tag
Rows and Columns Tables have ROWS and COLUMNS <= Rows
Columns
Tables make little boxes Boxes help to ORGANIZE information
Start with the usual HEAD stuff A Simple Table
Start the TABLE Stuff < TABLE ALIGN=middle BGCOLOR=Yellow BORDER=5 CELLPADDING=5 CELLSPACING=5 WIDTH=75% >
Add the ROWS and COLUMNS tag starts a new table ROW tag starts a new COLUMN These are MY Favorite Hobbies
These are My Favorite Hobbies
makes a new column makes a new ROW ALIGN=Middle COLSPAN=3> My Favorite Hobbies
Second ROW Start the second Row BOWLING The Internet Sewing
These are MY Favorite Hobbies BowlingThe InternetSewing
ATTRIBUTE TAGDESCRIPTIONExample BORDER Size of border around table BGCOLOR Color of the table CELLSPACING Thicker lines between the cells CELLPADDING More space around the text inside the cells WIDTH Width of TABLE
ATTRIBUTE TAGDescriptionExample ALIGNAlign images or text in cells VALIGNAlign contents o cell vertically NOWRAPDon’t let text wrap COLSPANStretch the cell across many columns ROWSPANStretch the cell across many rows. WIDTHWidth of cell BGCOLORColor of cell
TABLES Organize information into little boxes.