CSS Quiz
CSS Quiz
You answered:
Correct Answer!
You answered:
Correct Answer!
You answered:
Correct Answer!
You answered:
<style>
Correct Answer!
You answered:
style
6. Which is the correct CSS syntax?
You answered:
Correct Answer!
You answered:
/* this is a comment */
Correct Answer!
You answered:
background-color
Correct Answer!
You answered:
h1 {background-color:#FFFFFF;}
Correct Answer!
10. Which CSS property is used to change the text color of an
element?
You answered:
color
You answered:
font-size
Correct Answer!
12. What is the correct CSS syntax for making all the <p> elements
bold?
You answered:
p {font-weight:bold;}
Correct Answer!
You answered:
a { text-decoration: none; }
14. How do you make each word in a text start with a capital letter?
You answered:
text-transform:capitalize
15. Which property is used to change the font of an element?
You answered:
font-family
Correct Answer!
You answered:
font-weight: bold;
You answered:
You answered:
margin-left
Correct Answer!
19. When using the padding property; are you allowed to use
negative values?
You answered:
No
20. How do you make a list that lists its items with squares?
You answered:
list-style-type: square;
You answered:
#demo
Correct Answer!
You answered:
.test
Correct Answer!
You answered:
div p
You answered:
Separate each selector with a comma
You answered:
static