Name:     ID:  - last 4 digits of SSN
 
Email: 

Hour 11 - Using Tables to Organize and Lay Out Your Pages

True/False
Indicate whether the statement is true or false.
 

 1. 

By default, anything you place inside a table cell is aligned to the left and vertically centered.
 

 2. 

The width and height styles of a table are always specified in pixels.
<table style=”width:500px; height:400px”>
 

 3. 

A table is an orderly arrangement of text and/or graphics into vertical rows and horizontal columns.
 

 4. 

In most browsers the <th> tag will render the text in the cell as centered and boldface.
 

 5. 

To have the border of a table be invisible you would set the border attribute to 1.
 

 6. 

Tags used in one cell will carry over into other cells.
 

 7. 

All tables start and end with - <table> .... </table>.
 

 8. 

You can align the contents of table cells both horizontally and vertically with the “text-align” and “horizontal-align” style properties.
 

 9. 

Spanning is the process of forcing a cell to stretch across more than one row or column of a table
 

 10. 

As of now there are no CSS equivalents to “cellspacing” and “cellpadding”.
 

 11. 

Invisible tables are a popular way to lay out pages and is encouraged by the World Wide Web Consortium (W3C).
 

 12. 

The <table> tag only supports background colors and not background images.
 

 13. 

You can save yourself a considerable amount of time and effort by applying the align attributes to the <tr> tag.
 

 14. 

The background of a cell in a table will override the background used on the web page.
 

 15. 

The “cellspacing” attribute sets the amount of space (in pixels) between the table borders and between the table cells themselves.
 

 16. 

Creating a sketch of your table before you write your code is a helpful way to save time and frustration.
 

 17. 

The “cellpadding” attribute sets the amount of space (in pixels) around the edges of information in the cells.
 

 18. 

Using the <div> tag with the style=”font-weight:bold “ attribute at the beginning and end of a table will cause all cells to have bold text.
 

Multiple Choice
Identify the choice that best completes the statement or answers the question.
 

 19. 

An html table has three (3) tags that help define and create rows and columns.  They are ____________.
a.
<tr>, <tc>, and <tb>
b.
<tr>, <tc>, and <th>
c.
<tr>, <td>, and <th>
d.
<tr>, <td>, and <tb>
 

 20. 

The author of our book suggest that you should not nest tables more than _____ levels without a very good reason.
a.
4
b.
3
c.
2
d.
1
 



 
         Start Over