Assignment 1
Using a text editor, create an HTML document containing a 300 pixel-wide table that consists of two rows and two columns of centered, black text.
Set the border and cellspacing parameters of the table to 0. Set the cellpadding parameter to 10.
Assign the cell in column 1, row 1 of the table a background color of aqua. Type the word 'one' in this cell.
Assign the cell in column 2, row 1 of the table a background color of yellow. Type the word 'two' in this cell.
Assign the cell in column 1, row 2 of the table a background color of lime. Type the word 'three' in this cell.
Assign the cell in column 2, row 2 of the table a background color of olive. Type the word 'four' in this cell.
Close all the tags that need closing, save your work as "table2.html" and open the page in your favorite Web browser.
The table should look like this:
onetwo
threefour
Good luck! If you have any questions about this assignment or cannot figure out how to make your table look like the one portrayed above, please don't hesitate to drop me a note in the lesson 1 discussion area.

Claudia's Results

one two
three four

Valid HTML 4.01 Transitional


Back to Studies Home