Odesk CSS test


Odesk CSS 2 test answers :

Question 1:
Which of the following is true for a class selector?

  1. It uses a hash as the separator symbol
  2. It applies the style to only the first element defined with that style
  3. It applies the style to only the last element defined with that style
  4. It applies the style to all the elements defined with that style


Question 2:
Which of the following does not apply to external styles?

  1. Clean separation of design & content
  2. Minimal code duplication
  3. Highest priority
  4. Reduces page download time

Question 3:

Read the following Code:
BODY {
Background: white url(“bar.gif”);
Background-repeat: repeat-y;
Background-position: center;
}
What will be the output of this code?

  1. Image bar.gif will be tiled vertically in the background in the center of the page.
  2. Image bar.gif will be tiled horizontally in the background in the center of the page
  3. Image bar.gif will be displayed in the center of the page
  4. Image bar.gif will be stretched in the center of the page
Did you pass the test? share your experience with your comments !