TABLE WORKSHEET #1, LESSON 34

Please write the code to produce the following tables. (This was printed out in Internet Explorer; pull your code into IE and try to get it to look EXACTLY the same!)
Basic table; NO attributes:
cell#1 cell#2 cell#3

Put in a 1-pixel border:
cell#1 cell#2 cell#3

Try to figure out how many pixels this border is!
cell#1 cell#2 cell#3

Go back to the original border. Put in some cellpadding (try to figure out how much!)
cell#1 cell#2 cell#3

Take out the cellpadding and put in cellspacing! See the difference?
cell#1 cell#2 cell#3

Put in BOTH cellpadding and cellspacing! (Try to duplicate what I have here!)
cell#1 cell#2 cell#3

Now, try to duplicate THIS:
cell#1 cell#2 cell#3

Now, some practice with COLSPAN and ROWSPAN in the <TD> container. First, some COLSPAN practice:
cell#1 cell#2 cell#3
next cell last cell

And again...
cell#1 cell#2 cell#3
next cell last cell

And again!
onetwothree
four
five six

Now, some ROWSPAN practice:
one two three
four five

And again...
one two three
four five

And again!
one two three
four

Try this combo!
one two three four
five six
seven eight