CSS Quiz
1. The CSS language is supported by the World Wide Web Consortium.
True False
2. Which of the following styling features was not introduced in CSS1, the version of CSS introduced in 1996?
Fonts Positioning Color Background All of the above
3. What is the MIME type for CSS?
css/style text/style text/style css none of the above
4. Which of the following is true about inline style elements?
Easy to use. Clearly separate style from content Override any embedded or external style attributes A and C only All of the above
5. CSS is an abbreviation for Cascading Style Sheets.
6. What is accomplished by using the following tag: ?
A link is displayed so that the user can assign a color scheme to the web page. The web page is linked to an external style sheet. Content is imported from one external style sheet to another. This is a comment required to make the embedded styles work correctly. None of the above.
7. External style sheets can only be applied to a single web page document.
8. How would you override style inheritance to change the text color for a paragraph?
Enter an attribute for the document body. Enter an attribute for the document paragraph. Use the �!Import� property. B and C only. All of the above.
9. Which of the following demonstrates correct use of Selectors?
h1 {font-family: sans-serif} h2 {font-family: sans-serif} h1 h2 {font-family: sans-serif; color: blue} h1; h2 {font-family: sans-serif} h1 {color: red}; h2 {color: blue} A and C Only.
10. Which of the following would you use to create a style for an entire Web site?
Inline styles Embedded styles External style sheet All of the above.