CSS QUIZ
1 .
Which property is used to change the background color?

Correct Answer : Option (B)

background-color
  Show Answer
2 .
What property is used to change the text color of an element?

Correct Answer : Option (A)

color:
  Show Answer
3 .
How do you add a background color for all <h1> elements?

Correct Answer : Option (C)

h1 {background-color:#0099DA;}
  Show Answer
4 .
Which CSS property controls the text size?

Correct Answer : Option (A)

font-size
  Show Answer
5 .
What is the correct CSS syntax for making all the <p> elements bold?

Correct Answer : Option (A)

p {font-weight:bold;}
  Show Answer
6 .
How do you display hyperlinks without an underline?

Correct Answer : Option (D)

a {text-decoration:none;}
  Show Answer
7 .
Some HTML elements have multiple states, like the link, how do you give it a particular style when the user hovers over the element?

Correct Answer : Option (C)

:hover
  Show Answer
8 .
Which property is used to change the font of an element?

Correct Answer : Option (B)

font-family
  Show Answer
9 .
Which of the following property changes the width of bottom border?

Correct Answer : Option (A)

:border-bottom-width
  Show Answer
10 .
How do you make a list that lists its items with squares?

Correct Answer : Option (B)

list-style-type: square;
  Show Answer