Student Center
|
Instructor Center
|
Information Center
|
Home
Sample Code
Choose a Chapter
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Chapter 16
Chapter 17
Multiple Choice Quiz
True or False
Feedback
Help Center
Programming the Web Using XHTML and JavaScript
Larry Randles Lagerstrom
Cascading Style Sheets
Multiple Choice Quiz
1
Which of these does not have to be placed in the head section of an HTML document?
A)
meta
B)
title
C)
style
D)
all of the above have to be placed in the head section
2
Which style property do you use to specify italic text?
A)
font-style
B)
font-italic
C)
italic-font
D)
text-style
3
Which is NOT one of the four possible values for the text-align property?
A)
left
B)
right
C)
fill
D)
center
4
Which may be used as a value of the font-size property?
A)
xx-small
B)
127%
C)
larger
D)
all of the above
5
Which style property do you use to create underlined text?
A)
text-decoration
B)
font-variant
C)
font-underline
D)
text-underline
6
Which correctly creates a paragraph using a style class named "laidback".
A)
<p.laidback> … </p.laidback>
B)
<p p.class="laidback"> . . . </p>
C)
<p class="laidback"> . . . </class>
D)
<p class="laidback"> . . . </p>
7
Which style is limited to a single element in a document?
A)
global style
B)
internal style
C)
tag style
D)
local style
8
Which goes against the nesting rules of XHTML?
A)
<div> <span> . . . </span></div>
B)
<span><div> . . . </div></span>
C)
<span><p> . . . </p></span>
D)
B and C
9
Which should NOT be included in an external style sheet?
A)
<style type="text/css"> . . . </style>
B)
h2 {color:red}
C)
h3 {color:blue}
D)
p {font:italic}
10
Which file name extension must be used for an external style sheet?
A)
.ext
B)
.link
C)
.css
D)
.ess
2003 McGraw-Hill Higher Education
Any use is subject to the
Terms of Use
and
Privacy Policy
.
McGraw-Hill Higher Education
is one of the many fine businesses of
The McGraw-Hill Companies
.