HTML Fifth Edition

Practice Test Chapter 4
INSTRUCTIONS: Answer each question below. Enter your name and click the 'Grade Test' button to receive a graded study guide. You will not get a grade until all questions are answered.
1.
The default value for cellspacing is ____.
 A: 0
 B: 1
 C: 2
 D: 3
2.
Using a border gives the image a ____ appearance, making the image appear to have a frame around it.
 A: flat
 B: holographic
 C: 3-D
 D: 2-D
3.
To display a table as left-aligned in the Web page, use the ____ attribute and value of the <table> tag.
 A: border= "left"
 B: cols= "left"
 C: align= "left"
 D: valign= "left"
4.
All other table tags are inserted between the ____ tags.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
5.
Using the attribute and value rules= "rows", creates a table with ____.
 A: no line around the outside of the table
 B: no internal rules
 C: vertical rules between each column in the table
 D: horizontal rules between each row in the table
6.
By default, a ____ displays text as bold and center-aligned.
 A: border
 B: row
 C: heading cell
 D: data cell
7.
If the cellspacing and cellpadding attributes are not used, the size of each data cell ____.
 A: is automatically set to be as large as possible
 B: is automatically set to be the size of the rest of the data cells
 C: is automatically set to the minimum size needed for the text inserted into the data cell
 D: is undefined; the table cannot be drawn without the cellspacing and cellpadding attributes
8.
The colspan attribute can be used with the ____ tag.
 A: <table>
 B: <tr>
 C: <td>
 D: all of the above
9.
The ____ attribute of the <table> tag defines the space between cells in pixels.
 A: align
 B: bgcolor
 C: border
 D: cellspacing
10.
The HTML tags ____ indicate the start and end of a table.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
11.
A ____ is descriptive text located above or below the table that describes the purpose of the table.
 A: table border
 B: table caption
 C: row header
 D: column header
12.
In an HTML table, a ____ is a horizontal line of information.
 A: row
 B: column
 C: cell
 D: border
13.
The attribute and value that will cause a table to have two columns is ____.
 A: colspace= "2"
 B: cols= "2"
 C: columns= "2"
 D: colpadding= "2"
14.
The align attribute of the <tr> tag can take on the values left, center, right, and ____.
 A: top
 B: bottom
 C: justify
 D: all of the above
15.
If no border attribute is specified in the <table> tag, then the table ____.
 A: is not drawn; the border attribute must be specified
 B: is borderless
 C: has a default border that is 10 pixels wide
 D: has a default border that is 1 pixel wide
16.
Steps in creating tables for a Web page include ____.
 A: determining if a table is needed
 B: planning the table
 C: coding the table
 D: all of the above
17.
By default, a ____ displays normal text that is left-aligned.
 A: border
 B: row
 C: heading cell
 D: data cell
18.
Without a border, cellspacing increases the amount of ____ between cells.
 A: colored space
 B: whitespace
 C: content
 D: line width
19.
The ____ attribute of the <td> and <th> tags sets the number of columns spanned by a cell.
 A: colset
 B: setcol
 C: colspan
 D: spancol
20.
The ____ attribute of the <table> tag defines the space within the cells in pixels.
 A: cellspacing
 B: cellpadding
 C: cols
 D: width

Enter your name and click the 'Grade Test' button.