McGraw-Hill OnlineMcGraw-Hill Higher EducationLearning Center
Student Center | Instructor Center | Information Center | Home
Sample Code
Multiple Choice Quiz
True or False
Feedback
Help Center


Programming the Web Using XHTML and JavaScript
Larry Randles Lagerstrom

Cascading Style Sheets

True or False



1

For an internal style sheet, the word internal indicates that the style element is contained in the source file itself.
A)TRUE
B)FALSE
2

Hexadecimal digits are used to specify colors in HTML because, for example, an 8 digit binary color code can be specified using just two hexadecimal digits.
A)TRUE
B)FALSE
3

When used in styles, 6 digit hexadecimal color codes must be preceded by the @ symbol.
A)TRUE
B)FALSE
4

The browser-safe color palette includes over 2048 colors that display accurately on all color monitors.
A)TRUE
B)FALSE
5

Headers, by default, are displayed in a bold font. To turn off the default bold display of headers, we may use font-style:normal as a style definition for headers.
A)TRUE
B)FALSE
6

A style definition consists of a property and a value separated by a semicolon. For example, color;cyan.
A)TRUE
B)FALSE
7

If a style class p uses the style definition font-weight:bolder, and a substyle p.hevvy does not specify use the font-weight property, then the value of the font-weight property in p.hevvy will not be the same as in the p class
A)TRUE
B)FALSE
8

A local style definition takes precedence over any style definition for that tag in a style element.
A)TRUE
B)FALSE
9

You can create completely new elements in XML but not XHTML.
A)TRUE
B)FALSE
10

<div> is a generic inline tag that can be used to create custom tags.
A)TRUE
B)FALSE




McGraw-Hill/Irwin