HTML Sixth Edition
Practice Test
Chapter 7
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.
To change the style of one Web page use an ____ style sheet.
A:
external
B:
embedded
C:
inline
D:
internal
2.
The ____ is used to link an external style sheet to the Web pages to which you want to apply the style.
A:
< copy / > tag
B:
< save / > tag
C:
< link / > tag
D:
< find / > tag
3.
Which of the following gives you more flexibility for Web page structure?
A:
Using TABS
B:
Using tables
C:
Using CSS
D:
all of the above
4.
The ____ technique can add interactivity to highlight the menu and submenu structure for the user.
A:
hover
B:
table
C:
menu
D:
link
5.
An ____ allows you to create a text file that contains all of the styles you want to apply, and then saves the text file with the extension .css.
A:
embedded style sheet
B:
external style sheet
C:
inline style sheet
D:
none of the above
6.
Which of the following units is equal to the current font size?
A:
sz
B:
ft
C:
em
D:
cu
7.
The ____ rule defines the appearance of an element on a Web page.
A:
font
B:
cascade
C:
style
D:
link
8.
The ____ property is used to position an element on the Web page.
A:
area
B:
page
C:
position
D:
graphic
9.
The CSS validator can be found at the ____ validation service.
A:
checker.gov
B:
CSSservice.org
C:
validator.com
D:
w3.org
10.
If you want to change the style of all of the paragraphs on a Web page, it makes more sense to use an ____ style sheet.
A:
inline
B:
internal
C:
external
D:
embedded
11.
The ____ unit adapts automatically to the font size that the Web page visitor uses.
A:
sz
B:
au
C:
adt
D:
em
12.
The ____ is the space between the content of the element and the box border.
A:
margin
B:
border
C:
padding
D:
spacing
13.
To change the style within an individual HTML tag use an ____ style sheet.
A:
external
B:
embedded
C:
inline
D:
internal
14.
To link a style sheet to a Web page, the < link / > tag must use "____" as the value for the rel property and text/css as the value for the type property.
A:
value
B:
type
C:
stylesheet
D:
style
15.
The first general project guideline for creating Web pages is to ____.
A:
plan the Web site
B:
create a style sheet
C:
choose the content
D:
determine the type of style sheet
16.
With the line-height property, you can control the ____ spacing between lines of text.
A:
vertical
B:
horizontal
C:
both a. and b.
D:
neither a. nor b.
17.
An ____ changes the style within an individual HTML tag.
A:
embedded style sheet
B:
external style sheet
C:
internal style sheet
D:
inline style sheet
18.
The ____ property value specifies that the value of the position property should be inherited from the parent.
A:
parent
B:
inherit
C:
hierarchy
D:
fixed
19.
A ____ is a series of rules that defines the style for a Web page or an entire Web site.
A:
font sheet
B:
style sheet
C:
value sheet
D:
link sheet
20.
____ are used to add special effects to some selectors.
A:
Links
B:
Statics
C:
Tables
D:
Pseudoclasses
Enter your name and click the 'Grade Test' button.