CSS questions
The following list indicates, without restriction, the kinds of questions
that could be asked. On exams you will be given a choice of 5 potential answers.
- Which of the following is a valid comment in a CSS file ?
- Which of the following would change the background colour for all <h1>
elements to white ?
- In CSS a rule has the syntax a { b : c ; }. In this rule the symbol
a is known as a what ?
- In CSS a rule has the syntax a { b : c ; }. In this rule the symbol
b is known as a what ?
- In CSS a rule has the syntax a { b : c ; }. In this rule the symbol
c is known as a what ?
- In CSS the selector p matches what ?
- In CSS the selector .p matches what ?
- In CSS the selector #p matches what ?
- In CSS the pseudo selector p:hover matches what ?
- In CSS if you specify that a specific piece of HTML should be
formatted using the pattern .pattern, then that HTML element should
have what attribute ?
- In CSS a rule has the syntax a b{ c : d ; }. In this rule the
pattern a b matches what ?
- In CSS a rule has the syntax a > b { c : d ; }. In this rule the
pattern a > b matches what ?
- In CSS, the difference between an element whose position is defined
as absolute versus an element whose position is defined as relative
is what ?
- The CSS style #p1 {background-color: #ffff00;} does what ?
- The CSS colours rgb(255, 0, 0) #00FFFF and #FFFF00 represent what colours
- In the rgba colour space, what property does the a manipulate what ?
- The CSS selector .rainbow, div > #george does what ?
- The CSS selector a:link does what ?
- The CSS style rule li, em {color: blue; } will cause what ?