I hope you like steak too! This lesson, though is not about bovine gas, or any such subject, but it is about tables. Notice the table. How did I do that?
By now you are proficient (not a word fourth graders are supposed to know) at looking at source code, but let me make it a little more clear.
There are two new commands to learn today. Remember, though, our table command. First we start off with <table> and </table>. "Nested" inside those commands are two other commands.
Every time we want to start a new row we type <tr> and when we are through with that row, we type </tr>. Similarly, the cell tags are "nested" inside the row tags as here: <td> and </td>. In that way, by repetition, a table can have as many rows and columns as desired.
Now that we have reviewed basic tables, let's look at our new commands.
The first command: <Colspan=2> was nested in my first <tr>. What it told the table was that I wanted to span two columns with one column. In the second row, I made <TR> commands every two times I made a cell (<td>) command. But for the second cell of row 2, I wanted to leave room for the cow picture. So after the second td command, I typed rowspan=2>.
That left me with a 2 celled opening (it is only one cell on the right- two cells on the left)and my cow picture fit perfectly.
Try your hand at it. Make tables several different ways. Tables are the best way to handle building a web page. Make two tables for yourself and put different stuff in the cells to see what happens.
And yes, I know that is a Holstein, a milk cow. It is not something to eat, but I couldn't find a good picture on short notice. What's the matter? You don't drink milk?
That reminds me. Do you know what they call a cow with no legs?
click here to find out
That's probably NOT all I have to say about tables, cuz I am kinda nuts over the subject. But that's all for now. Bye!