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 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>
2.
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
3.
The ____ attribute of the <table> tag sets the background color for the table.
A:
align
B:
bgcolor
C:
border
D:
cellspacing
4.
The ____ attribute of the <table> tag defines the space between cells in pixels.
A:
align
B:
bgcolor
C:
border
D:
cellspacing
5.
The ____ attribute of the <table> tag defines the number of columns in the table.
A:
cellspacing
B:
cellpadding
C:
cols
D:
width
6.
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"
7.
The ____ attribute of the <tr> tag sets the horizontal alignment of the row.
A:
hrow
B:
valign
C:
halign
D:
align
8.
The bgcolor attribute can be used with the ____ tag.
A:
<table>
B:
<tr>
C:
<td>
D:
all of the above
9.
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
10.
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
11.
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"
12.
A ____ prevents the visitor from having to search the page for navigation links.
A:
navigation bar
B:
link bar
C:
menu bar
D:
site map
13.
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
14.
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
15.
The default value for cellspacing is ____.
A:
0
B:
1
C:
2
D:
3
16.
In an HTML table, a ____ is a horizontal line of information.
A:
row
B:
column
C:
cell
D:
border
17.
In an HTML table, a ____ is the intersection of a row and a column.
A:
row
B:
column
C:
cell
D:
border
18.
By default, a ____ displays text as bold and center-aligned.
A:
border
B:
row
C:
heading cell
D:
data cell
19.
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
20.
A ____ is any cell with bold text that indicates the purpose of the row or column.
A:
table header
B:
table title
C:
table caption
D:
table footer
Enter your name and click the 'Grade Test' button.