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.
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.
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 sets how wide the table is.
 A: cellspacing
 B: cellpadding
 C: cols
 D: width
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
Conceptualizing the table on paper first saves time when you try to determine which HTML table ____ to use to create the table.
 A: notes
 B: blocks
 C: tags
 D: codes
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 the intersection of a row and a column.
 A: row
 B: column
 C: cell
 D: border
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 ____ attribute of the <td> and <th> tags sets the number of rows spanned by a cell.
 A: rowset
 B: setrow
 C: rowspan
 D: spanrow
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"
The ____ attribute of the <table> tag controls table alignment (left, center, or right).
 A: align
 B: bgcolor
 C: border
 D: cellspacing
If a sketch of a table is made before the table is coded, it is easier to see ____.
 A: how many rows and columns to create
 B: if the table will include headings
 C: if any of the headings span rows or columns
 D: all of the above
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
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
Without a border, cellspacing increases the amount of ____ between cells.
 A: colored space
 B: whitespace
 C: content
 D: line width
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
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
The ____ attribute of the <table> tag sets the background color for the table.
 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>
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

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