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.
CSS provides support for three types of style sheets that does NOT include ____.
 A: inline
 B: embedded
 C: internal
 D: external
2.
The ____ property allows you to define a font for use in a Web page.
 A: text-decoration
 B: font-size
 C: font-family
 D: color-styles
3.
The ____ rule defines the appearance of an element on a Web page.
 A: font
 B: cascade
 C: style
 D: link
4.
The ____ generally contains the frame layout for a Web site.
 A: frame definition file
 B: Web page called index.htm
 C: both a. and b.
 D: neither a. nor b.
5.
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
6.
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
7.
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
8.
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
9.
Inline style sheets override ____ style sheets.
 A: embedded
 B: external
 C: both a. and b.
 D: neither a. nor b.
10.
The Print dialog box default is to print all frames individually. To print the Web pages as they are displayed in the browser, select the ____ option.
 A: Showcase
 B: All frame
 C: All pages
 D: As laid out on screen
11.
____ can be controlled in the list property.
 A: Width
 B: Style
 C: Color
 D: none of the above
12.
Over ____% of users use a browser that does support CSS.
 A: 80
 B: 85
 C: 90
 D: 95
13.
The ____ includes at least one property to apply to a selected element.
 A: link
 B: selector
 C: declaration
 D: value
14.
You can name classes anything that you want, but make sure to use a ____ before the class name in the style sheets rule.
 A: question mark
 B: comma
 C: slash
 D: period
15.
To change the style within an individual HTML tag use an ____ style sheet.
 A: external
 B: embedded
 C: inline
 D: internal
16.
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
17.
To change the style of multiple pages in a Web site use an ____ style sheet.
 A: external
 B: embedded
 C: inline
 D: internal
18.
A(n) ____ font is one that is slanted to the right by the browser.
 A: normal
 B: oblique
 C: bold
 D: underline
19.
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.
20.
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.

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