Name:     ID: 
 
    Email: 

CSS Quiz

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

 1. 

CSS stands for
a.
Castle Sub Sales
c.
Colorful Style Sheets
b.
Cascading Style Sheets
d.
Classy Style Sheets
 

 2. 

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

 3. 

Inline styles are found in what part of a web page?
a.
title section
c.
head section
b.
body section
d.
table section
 

 4. 

What tag is used for embedded styles?
a.
<style>
c.
<inline style>
b.
<css>
d.
<script>
 

 5. 

Which of the following is the correct CSS syntax?
a.
h1 {color:blue}
c.
{h1;color:blue}
b.
{h1:color;blue}
d.
h1:style=”blue”
 

 6. 

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

 7. 

What property is used to change the text color
a.
background-color:
c.
color:
b.
font-color:
d.
blue
 

 8. 

How do you change the font for all <p> elements?
a.
p {font-family:georgia}
c.
all.p {font-face:georgia}
b.
p.all {font-family:georgia}
d.
font:georgia
 

 9. 

Which of the following will change the text color of an element?
a.
text-color:
c.
font-color:
b.
color:
d.
element-color
 

 10. 

Which of the following is an example of a Psuedo Class?
a.
.mystyle {text-decoration:none}
c.
a.mystyle {text-decoration:none}
b.
:hover {text-decoration:none}
d.
All of these are psuedo classes
 

 11. 

How can you make the first letter of each word a capital letter?
a.
text-transform:capitalize
c.
text-transform:lowercase
b.
text-transform:uppercase
d.
You cannot do that with CSS
 

 12. 

Which of the following will change the font of an element?
a.
f:
c.
font-family:
b.
font=
d.
all of these
 

 13. 

How do you make the first line of each paragraph indent?
a.
indent:
c.
margin:
b.
margin-left:
d.
text-indent:
 

 14. 

External style sheets are files that contain rule for displaying information and they end in what file extension?
a.
.html
c.
.css
b.
.htm
d.
.style
 

 15. 

In the following: td {text-align:left} the td is refered to as the
a.
sector
c.
property
b.
selector
d.
value
 



 
Submit          Reset Help