HTML Fifth Edition

Practice Test Chapter 8
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 ____ property defines the amount of transparent space between elements on the page.
 A: width
 B: margin
 C: paragraph
 D: spacing
2.
The ____ selector is used to define a unique style for a visited link.
 A: a:active
 B: a:link
 C: a:visited
 D: a:hover
3.
To view the style changes in the menu.html Web page, you must open the frame definition file, ____.
 A: index.html
 B: menu.html
 C: file.html
 D: frame.html
4.
A ____ is included in a style statement.
 A: declaration
 B: selector
 C: both a. and b.
 D: neither a. nor b.
5.
____ is the default for the font-style property.
 A: Normal
 B: Oblique
 C: Bold
 D: Underline
6.
The ____ selector defines the style of a link when the mouse pointer points to, or hovers over, a link.
 A: a:active
 B: a:link
 C: a:visited
 D: a:hover
7.
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
8.
No matter what type of style sheet you use, you must use a ____ to define the style.
 A: style statement
 B: precedence statement
 C: both a. and b.
 D: neither a. nor b.
9.
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.
10.
To create an external style sheet, enter all of the style statements in a text file using Notepad or another text editor, and then save the text file with a(n) ____ extension.
 A: .htm
 B: .html
 C: .css
 D: .jpg
11.
If you want that same style throughout the entire Web site (i.e., all paragraphs on all Web pages), then you should use an ____ style sheet.
 A: inline
 B: internal
 C: external
 D: embedded
12.
The part of the style statement that identifies the page elements is called the ____.
 A: declaration
 B: selector
 C: value
 D: attribute
13.
There are three ways to add the line-height value that does NOT include ____.
 A: pixels
 B: number
 C: length unit
 D: percentage
14.
The code for an embedded style sheet must be inserted between a start and end ____ tag, which are positioned within the head element.
 A: style
 B: value
 C: property
 D: section
15.
If you want to change a single feature on one page, an ____ style sheet might be best.
 A: inline
 B: internal
 C: external
 D: embedded
16.
To change the style of multiple pages in a Web site use an ____ style sheet.
 A: external
 B: embedded
 C: inline
 D: internal
17.
A(n) ____ font is one that is slanted to the right by the browser.
 A: normal
 B: oblique
 C: bold
 D: underline
18.
The ____ property is a good way to add additional space between words.
 A: word-spacing
 B: word-space
 C: word-break
 D: insert-space
19.
To view HTML source code when you are viewing a Web page in your browser ____.
 A: click the Web page and then click Source Code on the shortcut menu
 B: right-click the Web page and then click View Source on the shortcut menu
 C: click File on the menu bar and then click Notepad
 D: none of the above
20.
To change the style of one Web page use an ____ style sheet.
 A: external
 B: embedded
 C: inline
 D: internal

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