CSS exam questions
From Wikiversity
The following questions are to help you identify where you need more work or...
== The questions are divided into beginner, intermediate and advanced sections.
Contents |
[edit] Beginner
- Write the CSS rule to achieve the following:
- Set the colour of all paragraphs to #333333.
- Set the default fonts for your page to Arial, San Serif
- Set all h2 elements to use the size 2em
- Explain the division to use blue text:
<p>Here's an intro</p>
<div id="content">
<p>Here's my content</p>
</div>
[edit] Intermediate
- What is the CSS selector is used to select every element on the page (and why should you be careful using it?)
- Explain the three values of the CSS display property (quite hard!)
- Discuss the pro's and con's of a fixed-width layout verses a flexible layout.
[edit] Advanced
- Identify 2 new properties that were introduced with CSS2
- Identify 2 new properties that should be introduced with CSS3 ==