|
Tables are extremely important in building webpages. I consider them to be the "swiss army knife" of html. Tables are the breakfast of champions! Tables are your friend! They are mostly used for aligning things (think layout), but as we shall see, they are very versatile & they have many applications. You can use tables to:
The possibilities are almost endless. New table builders often think that tables are difficult to understand, but just take a little time to learn their principles & you'll find them to be an essential tool in your arsenal of web-building techniques. As always, close your tags in reverse order of opening them. I'll spread them out to show their heirarchy. Here we go, the most basic layout:
<table> & </table> start & end your table. <tr>> & </tr> determine a table row. You can have as many rows as you want. <td> & </td> determine a table data cell You can have more than one data cell in a row. Each data cell in a row determines a column. As always, questions and comments are welcome. Happy tabling, | |