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 <table> tag defines the number of columns in the table.
 A: cellspacing
 B: cellpadding
 C: cols
 D: width
2.
In an HTML table, a ____ is a horizontal line of information.
 A: row
 B: column
 C: cell
 D: border
3.
The ____ attribute of the <table> tag sets the background color for the table.
 A: align
 B: bgcolor
 C: border
 D: cellspacing
4.
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>
5.
Without a border, cellspacing increases the amount of ____ between cells.
 A: colored space
 B: whitespace
 C: content
 D: line width
6.
If a sketch of a table is made before the table is coded, it is easier to see ____.
 A: how many rows and columns to create
 B: if the table will include headings
 C: if any of the headings span rows or columns
 D: all of the above
7.
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.
8.
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
9.
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
10.
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
11.
The ____ attribute of the <tr> tag sets the vertical alignment of the row.
 A: vrow
 B: valign
 C: halign
 D: align
12.
By default, a ____ displays normal text that is left-aligned.
 A: border
 B: row
 C: heading cell
 D: data cell
13.
The ____ attribute of the <table> tag sets how wide the table is.
 A: cellspacing
 B: cellpadding
 C: cols
 D: width
14.
In an HTML table, a ____ is a vertical line of information.
 A: row
 B: column
 C: cell
 D: border
15.
The ____ attribute of the <table> tag defines the width of the table border in pixels.
 A: align
 B: bgcolor
 C: border
 D: cellspacing
16.
All other table tags are inserted between the ____ tags.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
17.
Captions are appropriate for tables used to ____.
 A: position images
 B: create menu bars
 C: structure columns and rows of information
 D: all of the above
18.
The HTML tags ____ indicate the start and end of a table.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
19.
A ____ prevents the visitor from having to search the page for navigation links.
 A: navigation bar
 B: link bar
 C: menu bar
 D: site map
20.
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

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