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, 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
3.
The ____ attribute of the <tr> tag sets the horizontal alignment of the row.
 A: hrow
 B: valign
 C: halign
 D: align
4.
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
5.
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
6.
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
7.
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"
8.
The HTML tags ____ indicate the start and end of a table.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
9.
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
10.
All other table tags are inserted between the ____ tags.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
11.
The default value for cellspacing is ____.
 A: 0
 B: 1
 C: 2
 D: 3
12.
The ____ attribute of the <table> tag defines the width of the table border in pixels.
 A: align
 B: bgcolor
 C: border
 D: cellspacing
13.
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
14.
The ____ attribute of the <table> tag sets how wide the table is.
 A: cellspacing
 B: cellpadding
 C: cols
 D: width
15.
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
16.
The ____ attribute of the <tr> tag sets the vertical alignment of the row.
 A: vrow
 B: valign
 C: halign
 D: align
17.
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
18.
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
19.
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
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.