Name:     ID: 
 
Email: 

Introduction to CSS

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

 1. 

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

 2. 

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

 3. 

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

 4. 

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

 5. 

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

 6. 

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

 7. 

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

 8. 

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
 

 9. 

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

 10. 

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



 
         Start Over