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.
CSS provides support for three types of style sheets that does NOT include ____.
 A: inline
 B: embedded
 C: internal
 D: external
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
The ____ rule defines the appearance of an element on a Web page.
 A: font
 B: cascade
 C: style
 D: link
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.
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
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
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
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
Inline style sheets override ____ style sheets.
 A: embedded
 B: external
 C: both a. and b.
 D: neither a. nor b.
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
____ can be controlled in the list property.
 A: Width
 B: Style
 C: Color
 D: none of the above
Over ____% of users use a browser that does support CSS.
 A: 80
 B: 85
 C: 90
 D: 95
The ____ includes at least one property to apply to a selected element.
 A: link
 B: selector
 C: declaration
 D: value
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
To change the style within an individual HTML tag use an ____ style sheet.
 A: external
 B: embedded
 C: inline
 D: internal
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
To change the style of multiple pages in a Web site use an ____ style sheet.
 A: external
 B: embedded
 C: inline
 D: internal
A(n) ____ font is one that is slanted to the right by the browser.
 A: normal
 B: oblique
 C: bold
 D: underline
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.
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.