Name:     ID: 
 
Email: 

461Summer08Chapter03

Multiple Choice
Identify the choice that best completes the statement or answers the question.
 

 1. 

Cascading Style Sheet rules are comprised of:
a.
Selectors and Declarations
c.
Selectors and Attributes
b.
Properties and Declarations
d.
None of the above
 

 2. 

When CSS is coded in the body of the web page as an attribute of an XHTML tag it is called ________.
a.
Embedded
c.
External
b.
Inline
d.
Imported
 

 3. 

Select the items below that can be used as a CSS Selector.
a.
an XHTML element
c.
an id name
b.
a class name
d.
All of the above
 

 4. 

The Declaration property used to set the text color on a web page is:
a.
bgcolor
c.
color
b.
text-color
d.
None of the above
 

 5. 

To apply a style to a certain group of elements on a web page, configure a CSS _____________.
a.
group
c.
class
b.
id
d.
None of the above
 

 6. 

If a web page contains both a link to an External Style Sheet and Embedded Styles,
a.
the Embedded Styles will be applied first, then the External Styles will be applied.
c.
the External Styles will be applied first, then the Embedded Styles will be applied.
b.
only the Inline Styles will be used
d.
the web page will not display
 

 7. 

An External Style Sheet uses the _____ file extension.
a.
ess
c.
htm
b.
css
d.
No file extension is necessary
 

 8. 

Use the ______ tag to associate a web page with an External Style Sheet.
a.
<target>
c.
<include>
b.
<a>
d.
<link>
 

 9. 

Select the code below that will configure a background image called parchment.gif for a web page using CSS.
a.
body {background-image:url(parchment.gif); }
b.
document {background:parchment.gif; }
c.
body {background:parchment.gif’}
d.
None of the above
 

 10. 

Select the code below that configures a class called offer with blue text, 20 px and Arial or sans-serif font using CSS.
a.
offer { color:blue; font-size:20x; font-family:Arial,sans-serif;}
b.
.offer { color:blue; font-size:20px; font-family:Arial,sans-serif;}
c.
.offer { text:blue;font-size:20px; font-family:Arial,sans-serif;}
d.
#offer { text:blue;font-size:20px; font-family:Arial,sans-serif;}
 

 11. 

Use the ______ tag to create logical areas on a web page that are embedded within paragraphs or other block formatting elements.
a.
1. <div>…</div>
c.
both 1 and 2
b.
2. <span>… </span>
d.
neither 1 nor 2
 

 12. 

Use the _____ tag to code embedded styles on a web page.
a.
<link />
c.
<embed />
b.
<style> .. </style>
d.
none of the above
 

 13. 

Select a drawback to using CSS technology.
a.
It allows configuration for an entire web site from just one external file
c.
All browsers do not completely support the W3C standard.
b.
It results in  web pages that are too small
d.
CSS cannot be used with XHTML
 

 14. 

Use the ______ tag to create logical areas on a web page that are physically separated from others.
a.
1. <div>…</div>
c.
both 1 and 2
b.
2. <span>… </span>
d.
neither 1 nor 2
 

 15. 

CSS was first proposed as a standard by the W3C in ______.
a.
1996
c.
1992
b.
2002
d.
none of the above
 



 
         Start Over