CSS QUIZ
1 .
Which of the following value of cursor shows it as an arrow ?
 

Correct Answer : Option (D)

default
  Show Answer
2 .
How do you select an element with id "demo"?

Correct Answer : Option (A)

#demo
  Show Answer
3 .
The id selector is used to specify a style for

Correct Answer : Option (B)

single, unique element
  Show Answer
4 .
How do you select elements with class name "demo"?

Correct Answer : Option (D)

.demo
  Show Answer
5 .
What is the default value of the position property?

Correct Answer : Option (A)

static
  Show Answer
6 .
How would you style table rows to have alternating background colors?

Correct Answer : Option (D)

tr:nth-child(even){background-color:#CCC;}
  Show Answer
7 .
How would you only create a border below an HTML element?

Correct Answer : Option (C)

border-bottom-weight:solid;
  Show Answer
8 .
In the following code snippet, what value is given for the left margin: ?  margin: 5px 10px 3px 8px;

Correct Answer : Option (D)

8px;
  Show Answer
9 .
Which of the margin is commonly used to center a website?

Correct Answer : Option (C)

margin:0px auto;
  Show Answer
10 .
Which of the following would be used to create an ID called header which has a width of 750px, a height of 30px and the color of the text is black?

Correct Answer : Option (A)

#header{height:30px; width:750px; color:#000;}
  Show Answer