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. To mark a rule so that it will override any other rules
attachment (with values of 'scroll' or 'fixed')
comma (,)
attribute
!important
2. _______ are predefined classes that apply to specific conditions
Pseudo-classes
adjacent sibling
HEX code
type
3. Four 'flavors' of relational selectors: ________ - adjacent sibling - child (not supported by some older browsers like IE6) - general sibling (new to CSS3)
block
Box Model
descendant
HEX code
4. .right {text-align: right;} is an example of a selector made by _______
last
<style>
class
first-letter
5. h2+p { margin-top: .5em} is an example of a _____ selector
adjacent sibling
zero out
pseudo-class
#F9A
6. Sequence in which styles are applied: _______ - embedded - inline
external
comma (,)
block
a:link{text-decoration: none;}
7. Keyword with 'background' that specifies if and how an image repeats
repeat (values: repeat, repeat-x, repeat-y, no-repeat)
specific
collapsed
adjacent sibling
8. h2~p { margin-left: 2em; } is an example of a ______ selector
width
adjacent sibling
RGBA
general sibling (new to CSS3)
9. 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
screen
last
comma (,)
!important
10. A rule to remove a hyperlink border from around an image hyperlink
a img {border: none;}
child
background: [color] [image] [repeat] [attachment] [position];
block
11. Tag used to bring CSS into a web page from an external source
embedded styles
class (.)
href="<relative URL here>"
link
12. The ____ attribute is used to specify the platform that the style sheet is for (mobile - print etc)
background: [color] [image] [repeat] [attachment] [position];
media
border: [width] [style] [color];
-moz-
13. HTML tag used for embedded styles
<style>
last
box-shadow
height
14. _____ measurements are recommended for font sizes
repeat (values: repeat, repeat-x, repeat-y, no-repeat)
class
Relative
Lightness
15. * [ href ] { font-size: 95%; } is an example of a(n) _____ selector
width
first-letter
attribute
child
16. Attribute specifying the location of an external style sheet
child
http://html5shiv.googlecode.com/svn/trunk/html5.js
href="<relative URL here>"
*
17. A rule to remove bullets from a list
attachment (with values of 'scroll' or 'fixed')
Firefox
ul{ list-style: none;}
descendant
18. h1, h2, h3 {color: blue;} is an example of _____
child
position (with values: left, center, right, top, center, bottom)
unordered (<ul>)
multiple selectors
19. Prefix for linear gradient commands in Firefox
unordered (<ul>)
-moz-
first-letter
<li>
20. CSS is a special language used just for _____
specificity
padding
formatting
box-shadow
21. HSLA: Hue - Saturation - Lightness - _____
http://html5shiv.googlecode.com/svn/trunk/html5.js
Alpha
-o-
type
22. In order of most to least specificity by selector type: id, (class, attribute, _____), (element or pseudo-element)
pseudo-classes
16
pseudo-class
only-child
23. Shortcut HEX code for #FF99AA
width
#F9A
type
rel="stylesheet"
24. Zeroing out the default browser styles using the wildcard selector (*) is often call using the _____ selector
formatting
reset
pseudo-class
width
25. Wildcard (universal selector) to select all elements
adjacent sibling
*
-webkit-
a img {border: none;}
26. Attribute for an external style sheet
ul{ list-style: none;}
screen
child
rel="stylesheet"
27. Two common pseudo-elements: ______ - first-line
first-letter
border: [width] [style] [color];
link
clickable
28. The 'internal' space between content area & border
margin
-webkit-
-o-
padding
29. The default width of an element:As wide as the ______ that contains it
block
descendant
screen
class (.)
30. Keyword with 'background' that specifies whether an image scrolls with the document or remains in a fixed position
Warning
: Invalid argument supplied for foreach() in
/var/www/html/basicversity.com/show_quiz.php
on line
183
31. To make sure someone who can't use a mouse has the same experience as a 'mouser' style the :hover pseudo-class the same as the ______
media
multiple selectors
:focus pseudo-class
Pseudo-elements
32. Shorthand for background property
background: [color] [image] [repeat] [attachment] [position];
Pseudo-classes
padding
Chrome & Safari
33. box-shadow syntax: _________: horzOffset vertOffset blurRadius spread color; (not comma separated)
box-shadow
zero out
descendant
<li>
34. Prefix for linear gradient commands in Safari & Chrome
type
class
-webkit-
Firefox
35. Linear gradient syntax
margin
clickable
background-image: linear-gradient(direction, color %, color %, ...);
padding
36. #main>p{ font-size: 11pt; } is an example of a ______ selector
descendant
descendant
child
-moz-
37. [ ] are indicative of _______ selectors
attribute
clickable
a img {border: none;}
*
38. Two new box model properties in CSS3: border-radius and ________
Alpha
last
box-shadow
clickable
39. border shorthand syntax
screen
!important
descendant
border: [width] [style] [color];
40. Five common CSS pseudo classes:link - _______ - active - hover - focus
Lightness
first-letter
embedded styles
visited
41. In a navigation list (vertical): To make the entire box for a link ____ you can set the display property for the <a> elements to block and use padding to provide the space around the links
clickable
pseudo-class
attribute
embedded styles
42. List alignments work best with ____ measurements
#F9A
em
visited
border: [width] [style] [color];
43. Rule to remove underlining in a hyperlink that hasn't yet been visited
href="<relative URL here>"
last
a:link{text-decoration: none;}
specific
44. Three ways to specify colors in traditional CSS:color name - RGB - _______
external
collapsed
Pseudo-classes
HEX code
45. The p.highlight selector is more _____ than the .highlight selector
http://html5shiv.googlecode.com/svn/trunk/html5.js
Pseudo-classes
specific
block
46. The 'external' space or 'force field' between an element & it's containing element
child
repeat (values: repeat, repeat-x, repeat-y, no-repeat)
margin
HEX code
47. The delimiter symbol for multiple selectors for the same rule set
rel="stylesheet"
<style>
comma (,)
Lightness
48. The colon (:) is indicative of __________
pseudo-classes
formatting
*
Pseudo-elements
49. HSL: Hue - Saturation - ______
<li>
:focus pseudo-class
border: [width] [style] [color];
Lightness
50. These 'flavors' of selectors are often used by JavaScript
block
id
em
attribute selectors