Tables Assignment

by George Recinos



Purpose

   

   The purpose of this assignment is to show the use of tables (including nesting). I decided to create a chessboard because it's a classic example of how to use tables to create a grid containing multiple square cells. I copied the chess piece images from a computer chess game. The images are centered in the middle of each cell and I was able to create the checker pattern using different background colors. If you hover over the pieces you'll notice that a caption appears that tells you the name of the chess piece.


   
 

Chess Board

8 Black Rook Black Knight Black Bishop Black Queen Black King Black Bishop Black Knight Black Rook
7 Black Pawn Black Pawn Black Pawn Black Pawn Black Pawn Black Pawn Black Pawn Black Pawn
6
5
4
3
2 White Pawn White Pawn White Pawn White Pawn White Pawn White Pawn White Pawn White Pawn
1 White Rook White Knight White Bishop White Queen White King White Bishop White Knight White Rook
A B C D E F G H