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.
The default value for cellspacing is ____.
 A: 0
 B: 1
 C: 2
 D: 3
Using a border gives the image a ____ appearance, making the image appear to have a frame around it.
 A: flat
 B: holographic
 C: 3-D
 D: 2-D
To display a table as left-aligned in the Web page, use the ____ attribute and value of the <table> tag.
 A: border= "left"
 B: cols= "left"
 C: align= "left"
 D: valign= "left"
All other table tags are inserted between the ____ tags.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
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
By default, a ____ displays text as bold and center-aligned.
 A: border
 B: row
 C: heading cell
 D: data cell
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
The colspan attribute can be used with the ____ tag.
 A: <table>
 B: <tr>
 C: <td>
 D: all of the above
The ____ attribute of the <table> tag defines the space between cells in pixels.
 A: align
 B: bgcolor
 C: border
 D: cellspacing
The HTML tags ____ indicate the start and end of a table.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
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
In an HTML table, a ____ is a horizontal line of information.
 A: row
 B: column
 C: cell
 D: border
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"
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
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
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
By default, a ____ displays normal text that is left-aligned.
 A: border
 B: row
 C: heading cell
 D: data cell
Without a border, cellspacing increases the amount of ____ between cells.
 A: colored space
 B: whitespace
 C: content
 D: line width
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
The ____ attribute of the <table> tag defines the space within the cells in pixels.
 A: cellspacing
 B: cellpadding
 C: cols
 D: width

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