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 ____ attribute of the <td> and <th> tags sets the number of rows spanned by a cell.
 A: rowset
 B: setrow
 C: rowspan
 D: spanrow
2.
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
3.
By default, a ____ displays normal text that is left-aligned.
 A: border
 B: row
 C: heading cell
 D: data cell
4.
A table should be used ____.
 A: if it will help organize information in such a way that it is easier to read
 B: if a Web page needs to display a structured, organized list of information
 C: if a Web page includes text and images that need to be positioned in a very specific way
 D: all of the above
5.
The ____ attribute of the <table> tag sets the background color for the table.
 A: align
 B: bgcolor
 C: border
 D: cellspacing
6.
The bgcolor attribute can be used with the ____ tag.
 A: <table>
 B: <tr>
 C: <td>
 D: all of the above
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.
In an HTML table, a ____ is the intersection of a row and a column.
 A: row
 B: column
 C: cell
 D: border
9.
Using the attribute and value rules= "cols", 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
10.
All other table tags are inserted between the ____ tags.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
11.
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
12.
The preferred technique to use when defining specific characteristics of a table is ____.
 A: style sheets
 B: writing HTML code for each table
 C: either a. and b.
 D: neither a. nor b.
13.
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
14.
The HTML tags ____ indicate the start and end of a table row.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
15.
The ____ attribute of the <table> tag defines the number of columns in the table.
 A: cellspacing
 B: cellpadding
 C: cols
 D: width
16.
In Windows Vista, Notepad is located in the ____ folder on the All Programs submenu of the Start menu.
 A: Control Panel
 B: My Documents
 C: Accessories
 D: My Computer
17.
The default value for cellspacing is ____.
 A: 0
 B: 1
 C: 2
 D: 3
18.
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
19.
Conceptualizing the table on paper first saves time when you try to determine which HTML table ____ to use to create the table.
 A: notes
 B: blocks
 C: tags
 D: codes
20.
The ____ attribute of the <table> tag defines the width of the table border in pixels.
 A: align
 B: bgcolor
 C: border
 D: cellspacing

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