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.
To determine the height and width of an image use ____.
 A: a paint program
 B: an image editing program
 C: either a. or b.
 D: neither a. nor b.
2.
The HTML tags ____ indicate the start and end of a data cell in a table.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
3.
Captions often appear _____.
 A: below a table
 B: to the right of the table
 C: to the left of the table
 D: in the table's footer
4.
The ____ attribute of the <table> tag sets the background color for the table.
 A: align
 B: bgcolor
 C: border
 D: cellspacing
5.
In an HTML table, a ____ is the intersection of a row and a column.
 A: row
 B: column
 C: cell
 D: border
6.
The ____ attribute of the <table> tag defines the number of columns in the table.
 A: cellspacing
 B: cellpadding
 C: cols
 D: width
7.
In an HTML table, you can set attributes for ____.
 A: an entire row of information
 B: a single cell
 C: one or more cells within a row
 D: all of the above
8.
The ____ attribute of the <tr> tag sets the horizontal alignment of the row.
 A: hrow
 B: valign
 C: halign
 D: align
9.
The ____ allows a Web developer to select which internal borders to show in a table.
 A: borders attribute
 B: internal attribute
 C: rules attribute
 D: column attribute
10.
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
11.
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
12.
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"
13.
The HTML tags ____ indicate the start and end of a table.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
14.
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
15.
All other table tags are inserted between the ____ tags.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
16.
The default value for cellspacing is ____.
 A: 0
 B: 1
 C: 2
 D: 3
17.
The ____ attribute of the <table> tag defines the width of the table border in pixels.
 A: align
 B: bgcolor
 C: border
 D: cellspacing
18.
Since ____ give you more control over the placement of information and images, many popular Web sites use them.
 A: headers
 B: footers
 C: tables
 D: grids
19.
The ____ attribute of the <table> tag sets how wide the table is.
 A: cellspacing
 B: cellpadding
 C: cols
 D: width
20.
In an HTML table, a ____ is the line that encloses the perimeter of the table.
 A: table row
 B: table column
 C: table cell
 D: table border

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