Home
About
Classes
Tutorials
Student Work
Student Profiles
Resources
Quiz on Intro to CSS class
Which part of this CSS rule is the
selector
?
a
b
c
Check Answer
a
Based on the diagram of the first question, which part of the CSS rule is the
value
?
a
b
c
Check Answer
c
Based on the diagram of the first question, which part of the CSS rule is the
property
?
a
b
c
Check Answer
b
Which of the following would allow you to apply a CSS rule to multiple elements?
a
b
c
Check Answer
b
What character would you use to separate parts of a selector to affect an element that is
only
a descendant of another element?
comma (,)
semi-colon (;)
space ( )
colon (:)
Check Answer
space ( )
Which selector character applies a rule to all elements in the document? (type only the symbol)
Check Answer
*
Which character prefix do you use to form an ID selector?
Check Answer
#
Which character prefix do you use to form a class selector?
Check Answer
.
Which selector would affect all links inside a <div> tag?
div > a { }
div + a { }
div a { }
Check Answer
div a { }
Which selector only applies to <p> tags that immediately follow an <h1> element on the same level? (Not nested inside it)
h1 > p { }
h1 + p { }
h1 p { }
Check Answer
h1 + p { }