Return to BoogieJack.com

"The CSS Quiz"

 


Test your knowledge of CSS with the quick quiz to see how you score. Get the correct answers in seconds by clicking the Submit Answers button.


1)

What are the three methods of implementing CSS?


2)

table {color: blue;}
In the code snippet above, which part represents the property?


3)

table {color: blue;}
With the code snippet above in use, what happens to a table?


4)

An HTML element can have different display properties by creating more than one class. What would you add to a paragraph element if you wanted to use a class named hilite to it? 


5)

Which of the following is the best description of a contextual selector?


6)

In addition to specifying specific fonts, in CSS you can also specify generic font families. There are five generic font families, including serif, sans-serif, cursive, and fantasy. Which of the following is the generic font family I didn't name?


7)

With CSS you can control the amount of space between letters, the amount of space between words, and the amount of space between lines of text. Choose the correct comment regarding that statement.


8)

In regards to the CSS box model, where is the margin property located?


9)

With CSS you can set paragraphs to a specific size, and even add a scrollbar to them if the content is too big for the paragraph. What property would you use to allow the scrollbar if needed?


10)

What does the CSS float property do?

 

Enter your first name we can personalize the results for you.

Your Name: