Name:     ID: 
 
Email: 

Introduction to CSS

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

 1. 

Where in an HTML document is the correct place to refer to an external style sheet?
a.
In the <body> section
c.
At the end of the document
b.
In the <head> section
 

 2. 

Which is the correct CSS syntax?
a.
{body;color:black;}
c.
{body:color=black;}
b.
body {color: black;}
d.
body:color=black;
 

 3. 

Which property is used to change the background color?
a.
background-color
c.
color
b.
bgcolor
 

 4. 

What does CSS stand for?
a.
Computer Style Sheets
c.
Colorful Style Sheets
b.
Creative Style Sheets
d.
Cascading Style Sheets
 

 5. 

Which HTML attribute is used to define inline styles?
a.
font
c.
style
b.
class
d.
styles
 

 6. 

Which property is used to change the font of an element?
a.
font-family
c.
font-weight
b.
font-style
 

 7. 

What is the correct HTML for referring to an external style sheet?
a.
<stylesheet>style.css</stylesheet>
c.
<style src="style.css">
b.
<link rel="stylesheet" type="text/css" href="style.css">
 

 8. 

What property is used to change the left margin of an element?
a.
margin-left
c.
padding-left
b.
indent
 

 9. 

Which CSS property is used to change the text color of an element?
a.
fgcolor
c.
text-color
b.
color
 

 10. 

Which HTML tag is used to define an internal style sheet?
a.
<script>
c.
<style>
b.
<css>
 



 
         Start Over