HTML Sixth 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.
You add table captions with which of the following tags?
A:
< caption > < /caption >
B:
< heading > < /heading >
C:
< table > < /table >
D:
< text > < /text >
2.
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
3.
Without a border, cellspacing increases the amount of ____ between cells.
A:
colored space
B:
white space
C:
content
D:
line width
4.
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
5.
According to the book, which of the following is a good way to organize your code?
A:
Font
B:
Color
C:
Indenting
D:
All of the above
6.
By default, a ____ displays normal text that is left-aligned.
A:
border
B:
row
C:
heading cell
D:
data cell
7.
The colspan attribute can be used with the ____ tag.
A:
< table >
B:
< tr >
C:
< td >
D:
all of the above
8.
The ____ attribute of the < table > tag defines the space between cells in pixels.
A:
align
B:
bgcolor
C:
border
D:
cellspacing
9.
____ are the most efficient and powerful way to change styles for an entire Web site.
A:
Internal style sheets
B:
External style sheets
C:
Web style sheets
D:
Manager style sheets
10.
The HTML tags ____ indicate the start and end of a table.
A:
< table > < /table >
B:
< tr > < /tr >
C:
< th > < /th >
D:
< td > < /td >
11.
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
12.
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
13.
An external style sheet is a text file that contains ____ for the styles you want to apply across the Web site.
A:
sizes
B:
links and styles
C:
selectors and declarations
D:
the class
14.
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
15.
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
16.
In an HTML table, a ____ is a horizontal line of information.
A:
row
B:
column
C:
cell
D:
border
17.
The ____ attribute of the < table > tag defines the space between a cell's contents and its borders in pixels.
A:
cellspacing
B:
cellpadding
C:
cols
D:
width
18.
The HTML tags ____ indicate the start and end of a table row.
A:
< table > < /table >
B:
< tr > < /tr >
C:
< th > < /th >
D:
< td > < /td >
19.
The default value for cellspacing is ____.
A:
0
B:
1
C:
2
D:
3
20.
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
Enter your name and click the 'Grade Test' button.