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.
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 ____ value places a line above the text.
 A: line-through
 B: blink
 C: overline
 D: topline
Within the style tag container, Web developers commonly agree to add ____ to ensure that proper action is taken if a browser does not support CSS.
 A: superscript tags
 B: HTML comment code
 C: line-through properties
 D: escape tags
____ is the default for the font-style property.
 A: Normal
 B: Oblique
 C: Bold
 D: Underline
There are three ways to add the line-height value that does NOT include ____.
 A: pixels
 B: number
 C: length unit
 D: percentage
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
You can utilize three different ____ of paragraphs, and each one can have a different style sheet declaration.
 A: classes
 B: types
 C: categories
 D: grades
An ____ style sheet allows you to add a style to an individual HTML tag, such as a heading or paragraph.
 A: external
 B: inline
 C: embedded
 D: internal
To add an inline style sheet, you enter the ____ within the HTML tag to which you want to apply the style.
 A: element
 B: parameter
 C: declaration
 D: selector
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
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
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
The ____ rule defines the appearance of an element on a Web page.
 A: font
 B: cascade
 C: style
 D: link
CSS provides support for three types of style sheets that does NOT include ____.
 A: inline
 B: embedded
 C: internal
 D: external
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
With an embedded style sheet, you add the style sheet within the ____ tags of the HTML document to define the style for an entire Web page.
 A: <body>
 B: <style>
 C: <head>
 D: <css>
A ____ is included in a style statement.
 A: declaration
 B: selector
 C: both a. and b.
 D: neither a. nor b.
The part of the style statement that identifies the page elements is called the ____.
 A: declaration
 B: selector
 C: value
 D: attribute
To change the style of one Web page use an ____ style sheet.
 A: external
 B: embedded
 C: inline
 D: internal
The part of the style statement that identifies how the element(s) should appear is called the ____.
 A: value
 B: property
 C: code
 D: declaration

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