Thursday, February 27, 2014

Review and Apply Ch. 6

1. Which CSS property will configure the font typeface?
c. font-family

2. Which CSS property will configure bold test?
c. font-weight

3. Which CSS property will configure italic text?
b. font-style

4. Which configures a class called news with red text, large font, and Arial or a sans-serif font using CSS?
b. .news{ color: red;
                font-size: large;
                font-family: Arial,
                sans-serif; }

5.Which of the following, from outermost to innermost, are the components of the box model?
a. margin, border, padding, content

6.Which of the following is the CSS property that configures a drop shadow effect on text?
a. box-shadow

7. Which of the following will configure padding that is 15 pixels on the top, 0 pixels on the left and right, and 5 pixels on the bottom?
c. 15px 0 5px 0;

8. Which of the following is used along with the width property to configure centered page content?
a. margin-left: auto;
    margin-right: auto

9. Which CSS property will center text within an element?
b. text-align

10. Which of the following will configure a border that is 5 pixels wide, the color #330000, and a solid line?
a. border: 5px solid #330000;

No comments:

Post a Comment