SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
CSS 3
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. The delimiter symbol for multiple selectors for the same rule set
comma (,)
specificity
-o-
height
2. Width of a box: left margin + left border + left padding + _____ + right padding + right border + right margin
visited
width
-o-
screen
3. _____ measurements are recommended for font sizes
general sibling (new to CSS3)
Relative
margin
external
4. _______ Memory Aid: TRBL ('trouble' = top, right, bottom, left)
href="<relative URL here>"
RGBA
#F9A
Box Model
5. If a bottom margin encounters an adjacent top margin they are _____ and the larger margin is applied
pseudo-class
collapsed
Pseudo-classes
media
6. Keyword with 'background' that specifies whether an image scrolls with the document or remains in a fixed position
7. Height of a box: top margin + top border + top padding + ______ + bottom padding + bottom border + bottom margin
position (with values: left, center, right, top, center, bottom)
first-letter
height
type
8. The 'internal' space between content area & border
external
descendant
padding
Lightness
9. The 'external' space or 'force field' between an element & it's containing element
16
pseudo-classes
margin
width
10. A rule to remove bullets from a list
ul{ list-style: none;}
clickable
box-shadow
!important
11. In a set of possibly conflicting rules the one that is mentioned _____ is the one that will be used and all other things being equal
last
16
:focus pseudo-class
comma (,)
12. HTML5 structural tags in older browsers must be styled as _____ elements
block
media
border: [width] [style] [color];
!important
13. .right {text-align: right;} is an example of a selector made by _______
class
<style>
height
multiple selectors
14. [ ] are indicative of _______ selectors
zero out
attribute
-o-
Firefox
15. These 'flavors' of selectors are often used by JavaScript
border: [width] [style] [color];
Pseudo-elements
<li>
attribute selectors
16. Wildcard (universal selector) to select all elements
id
*
general sibling (new to CSS3)
http://html5shiv.googlecode.com/svn/trunk/html5.js
17. CSS is a special language used just for _____
<style>
!important
16
formatting
18. _______ are predefined classes that apply to specific conditions
position (with values: left, center, right, top, center, bottom)
Pseudo-classes
specific
external
19. * [ href ] { font-size: 95%; } is an example of a(n) _____ selector
ul{ list-style: none;}
attribute
visited
:focus pseudo-class
20. HSLA: Hue - Saturation - Lightness - _____
http://html5shiv.googlecode.com/svn/trunk/html5.js
#F9A
screen
Alpha
21. The colon (:) is indicative of __________
block
pseudo-classes
collapsed
media
22. An HTML element may be a selector (<p> for example). This is known as a rule that selects by ______
id
comma (,)
type
ul{ list-style: none;}
23. Prefix for linear gradient commands in Firefox
!important
zero out
Relative
-moz-
24. border shorthand syntax
Lightness
margin
#F9A
border: [width] [style] [color];
25. Backwards compatibility for ________ & rounded corners & shadows -moz-border-radius & -moz-box-shadow
ul{ list-style: none;}
Firefox
block
pseudo-class
26. Six properties for setting heights & widths: width - height - ______- max-width - min-height - max-height
class
min-width
general sibling (new to CSS3)
a:link{text-decoration: none;}
27. h2+p { margin-top: .5em} is an example of a _____ selector
box-shadow
<li>
adjacent sibling
a img {border: none;}
28. URL for bringing in a JavaScript 'shiv' or 'shim' for elements to be used in older browsers
a:link{text-decoration: none;}
specificity
http://html5shiv.googlecode.com/svn/trunk/html5.js
border: [width] [style] [color];
29. Rule to remove underlining in a hyperlink that hasn't yet been visited
a:link{text-decoration: none;}
em
general sibling (new to CSS3)
external
30. List alignments work best with ____ measurements
background-image: linear-gradient(direction, color %, color %, ...);
em
http://html5shiv.googlecode.com/svn/trunk/html5.js
only-child
31. Tag used to bring CSS into a web page from an external source
link
margin
pseudo-class
external
32. There are ____ descriptive color names
Firefox
16
ul{ list-style: none;}
descendant
33. In order of most to least specificity by selector type: id, (class, attribute, _____), (element or pseudo-element)
pseudo-class
id
pseudo-classes
only-child
34. Attribute for an external style sheet
border: [width] [style] [color];
height
a:link{text-decoration: none;}
rel="stylesheet"
35. Use this 'flavor' of selector if you want to target multiple elements on a page with the same styling
<li>
external
attribute selectors
class (.)
36. To format the space between a bullet and text in an unordered list style some left padding on the _____ element within the list
<li>
-o-
reset
*
37. The ______ keyword is typically used for centering an element in it's containing (parent) block - but to do that you must also specify the width of the element
attribute selectors
width
height
child
38. Three common CSS3 pseudo-classes: first-child - last-child - _______
first-letter
background-image: linear-gradient(direction, color %, color %, ...);
#F9A
only-child
39. Default for the media attribute
screen
box-shadow
class
pseudo-classes
40. Zeroing out the default browser styles using the wildcard selector (*) is often call using the _____ selector
background-image: linear-gradient(direction, color %, color %, ...);
:focus pseudo-class
reset
-o-
41. Three ways to specify colors in traditional CSS:color name - RGB - _______
HEX code
class (.)
descendant
last
42. Shorthand for background property
first-letter
pseudo-classes
background: [color] [image] [repeat] [attachment] [position];
clickable
43. Some users with special needs may have set up a ______ which have a higher ranking in the 'cascade'
user style sheet
Pseudo-elements
href="<relative URL here>"
16
44. Four 'flavors' of relational selectors: ________ - adjacent sibling - child (not supported by some older browsers like IE6) - general sibling (new to CSS3)
repeat (values: repeat, repeat-x, repeat-y, no-repeat)
embedded styles
descendant
reset
45. h1, h2, h3 {color: blue;} is an example of _____
a:link{text-decoration: none;}
multiple selectors
href="<relative URL here>"
<style>
46. Backwards compatibility for __________ & shadows -webkit-box-shadow
last
Chrome & Safari
Firefox
id
47. Prefix for linear gradient commands in Opera
Alpha
Box Model
-o-
HEX code
48. #main li { color: green;} is an example of a _____ selector
descendant
<li>
height
child
49. A rule to remove a hyperlink border from around an image hyperlink
-moz-
a img {border: none;}
background-image: linear-gradient(direction, color %, color %, ...);
#F9A
50. Keyword with 'background' that specifies if and how an image repeats
attribute
repeat (values: repeat, repeat-x, repeat-y, no-repeat)
Lightness
margin