Odesk CSS 2 test answers :
Question 1:
Which of the following is true for a class selector?
- It uses a hash as the separator symbol
- It applies the style to only the first element defined with that style
- It applies the style to only the last element defined with that style
- It applies the style to all the elements defined with that style
Question 2:
Which of the following does not apply to external styles?
- Clean separation of design & content
- Minimal code duplication
- Highest priority
- 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?
- Image bar.gif will be tiled vertically in the background in the center of the page.
- Image bar.gif will be tiled horizontally in the background in the center of the page
- Image bar.gif will be displayed in the center of the page
- Image bar.gif will be stretched in the center of the page
Did you pass the test? share your experience with your comments !