Review and Apply Ch. 4
1. Which of the following can be a CSS selector?
b. a class name
2. Which of the following is the CSS property used to set the background color?
b. background-color
3. Which type of CSS is coded in the body of the web page as an attribute of an HTML tag?
b. inline
4. Which of the following describe two components of CSS rules?
a. selectors and declarations
5. Which of the following associates a web page with an external style sheet?
c. <link rel="stylesheet" href="style.css">
6. Which of the following configures a CSS class called news with red text (#ff0000) and light gray background (#EAEAEA)?
d. #news {color: #ff0000; background-color: #EAEAEA; }
7. An External Style Sheet uses the ______ file extension.
b. css
8.Where do you place the code to associate a web page with an external style sheet?
d. in the head section of the web page document
9. Which of the following configures a background color of #FFF8DC for a web page using CSS?
a. body {background-color: # FFF8DC;}
10. Which of the following do you configure to apply a style to more than one area on a web page?
b. class
No comments:
Post a Comment