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.
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
2.
By default, a ____ displays text as bold and center-aligned.
 A: border
 B: row
 C: heading cell
 D: data cell
3.
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
4.
The colspan attribute can be used with the ____ tag.
 A: <table>
 B: <tr>
 C: <td>
 D: all of the above
5.
The ____ attribute of the <table> tag defines the space between cells in pixels.
 A: align
 B: bgcolor
 C: border
 D: cellspacing
6.
The HTML tags ____ indicate the start and end of a table.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
7.
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
8.
In an HTML table, a ____ is a horizontal line of information.
 A: row
 B: column
 C: cell
 D: border
9.
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"
10.
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
11.
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
12.
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
13.
By default, a ____ displays normal text that is left-aligned.
 A: border
 B: row
 C: heading cell
 D: data cell
14.
Without a border, cellspacing increases the amount of ____ between cells.
 A: colored space
 B: whitespace
 C: content
 D: line width
15.
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
16.
The ____ attribute of the <table> tag defines the space within the cells in pixels.
 A: cellspacing
 B: cellpadding
 C: cols
 D: width
17.
The HTML tags ____ indicate the start and end of a table row.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
18.
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
19.
In an HTML table, a ____ is a vertical line of information.
 A: row
 B: column
 C: cell
 D: border
20.
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.

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