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 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
2.
The bgcolor attribute can be used with the ____ tag.
 A: <table>
 B: <tr>
 C: <td>
 D: all of the above
3.
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
4.
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"
5.
To determine the height and width of an image use ____.
 A: a paint program
 B: an image editing program
 C: either a. or b.
 D: neither a. nor b.
6.
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
7.
In an HTML table, a ____ is a horizontal line of information.
 A: row
 B: column
 C: cell
 D: border
8.
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
9.
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
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.
Using the attribute and value rules= "cols", 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.
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
13.
The HTML tags ____ indicate the start and end of a table.
 A: <table> </table>
 B: <tr> </tr>
 C: <th> </th>
 D: <td> </td>
14.
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>
15.
The ____ attribute of the <table> tag controls table alignment (left, center, or right).
 A: align
 B: bgcolor
 C: border
 D: cellspacing
16.
The ____ attribute of the <table> tag defines the space between cells in pixels.
 A: align
 B: bgcolor
 C: border
 D: cellspacing
17.
The ____ attribute of the <table> tag sets how wide the table is.
 A: cellspacing
 B: cellpadding
 C: cols
 D: width
18.
The ____ attribute of the <tr> tag sets the horizontal alignment of the row.
 A: hrow
 B: valign
 C: halign
 D: align
19.
The colspan attribute can be used with the ____ tag.
 A: <table>
 B: <tr>
 C: <td>
 D: all of the above
20.
In Windows Vista, Notepad is located in the ____ folder on the All Programs submenu of the Start menu.
 A: Control Panel
 B: My Documents
 C: Accessories
 D: My Computer

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