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 and value that will cause a table to have two columns is ____.
 A: colspace= "2"
 B: cols= "2"
 C: columns= "2"
 D: colpadding= "2"
2.
The HTML tags ____ indicate the start and end of a table.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
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.
All other table tags are inserted between the ____ tags.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
5.
The default value for cellspacing is ____.
 A: 0
 B: 1
 C: 2
 D: 3
6.
The ____ attribute of the <table> tag defines the width of the table border in pixels.
 A: align
 B: bgcolor
 C: border
 D: cellspacing
7.
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
8.
The ____ attribute of the <table> tag sets how wide the table is.
 A: cellspacing
 B: cellpadding
 C: cols
 D: width
9.
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
10.
The ____ attribute of the <tr> tag sets the vertical alignment of the row.
 A: vrow
 B: valign
 C: halign
 D: align
11.
Using the attribute and value rules= "none", 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
12.
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
13.
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
14.
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.
15.
The HTML tags ____ indicate the start and end of a table row.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
16.
Without a border, cellspacing increases the amount of ____ between cells.
 A: colored space
 B: whitespace
 C: content
 D: line width
17.
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
18.
In an HTML table, a ____ is a horizontal line of information.
 A: row
 B: column
 C: cell
 D: border
19.
The ____ attribute of the <table> tag defines the space between cells in pixels.
 A: align
 B: bgcolor
 C: border
 D: cellspacing
20.
By default, a ____ displays text as bold and center-aligned.
 A: border
 B: row
 C: heading cell
 D: data cell

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