Friday, March 7, 2014

Review and Apply Ch. 7

Review and Apply Ch. 7

1. Which of the following causes and element not to display?
c. display: none;

2. Which of the following is an image file that contains multiple small graphics?
c. sprite

3. Which of the following properties can be used to clear a float?
b. clear or overflow

4. Which of the following causes and element to display without empty space above and below?
d. display: inline;

5. Which of the following pseudo-classes is the default state for a hyperlink that has already been clicked?
d. :visited

6. Which of the following is used to change the location of an element slightly in relation to where it would otherwise appear on the page?
a. relative positioning

7. Which of the following configures a class called notes to float to the left?
c. .notes{ float:left; }

8. Which of the following is the rendering flow used by a browser by default?
d. normal flow

9. Which of the following is an example of using a descendant selector to configure the anchor tags within the nav element?
b. nav a

10. Which of the following is used along with the left, right, and/or top property to precisely configure the position of an element outside of normal flow?
b. position: absolute;