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. Two new box model properties in CSS3: border-radius and ________
unordered (<ul>)
comma (,)
box-shadow
only-child
2. ________ are selectors that let you select a portion of text
background-image: linear-gradient(direction, color %, color %, ...);
Pseudo-elements
embedded styles
a:link{text-decoration: none;}
3. Tag used to bring CSS into a web page from an external source
link
id
#F9A
href="<relative URL here>"
4. HTML5 structural tags in older browsers must be styled as _____ elements
RGBA
Chrome & Safari
Relative
block
5. What does this do? padding: 2px, 4px, 6px, 8px;
unordered (<ul>)
Nothing! the values are not comma separated (delimited)
first-letter
class (.)
6. An HTML element may be a selector (<p> for example). This is known as a rule that selects by ______
box-shadow
a img {border: none;}
attribute
type
7. HSLA: Hue - Saturation - Lightness - _____
attribute
media
Alpha
descendant
8. Zeroing out the default browser styles using the wildcard selector (*) is often call using the _____ selector
href="<relative URL here>"
attribute
reset
screen
9. Three ways to provide styles: external style sheet - ________- style attributes applied to a single element (inline)
type
embedded styles
rel="stylesheet"
clickable
10. Prefix for linear gradient commands in Safari & Chrome
-webkit-
comma (,)
a img {border: none;}
attribute
11. Three common CSS3 pseudo-classes: first-child - last-child - _______
<li>
only-child
formatting
first-letter
12. Rule to remove underlining in a hyperlink that hasn't yet been visited
a:link{text-decoration: none;}
RGBA
block
clickable
13. URL for bringing in a JavaScript 'shiv' or 'shim' for elements to be used in older browsers
http://html5shiv.googlecode.com/svn/trunk/html5.js
adjacent sibling
attribute selectors
user style sheet
14. * [ href ] { font-size: 95%; } is an example of a(n) _____ selector
min-width
visited
attribute
background: [color] [image] [repeat] [attachment] [position];
15. Four 'flavors' of relational selectors: ________ - adjacent sibling - child (not supported by some older browsers like IE6) - general sibling (new to CSS3)
descendant
Lightness
child
a:link{text-decoration: none;}
16. 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
Lightness
http://html5shiv.googlecode.com/svn/trunk/html5.js
width
collapsed
17. In a navigation bar (horizontal): Code <a> elements nested in <li> elements of an _____ list and style the <li> elements as inline using the display property
descendant
em
unordered (<ul>)
background-image: linear-gradient(direction, color %, color %, ...);
18. CSS is a special language used just for _____
formatting
specific
zero out
<style>
19. The delimiter symbol for multiple selectors for the same rule set
link
<li>
comma (,)
attribute
20. Rules with a higher _____ are the ones that will be used
unordered (<ul>)
background-image: linear-gradient(direction, color %, color %, ...);
user style sheet
specificity
21. _______ Memory Aid: TRBL ('trouble' = top, right, bottom, left)
attribute
attribute
Box Model
<style>
22. Prefix for linear gradient commands in Opera
-o-
border: [width] [style] [color];
#F9A
adjacent sibling
23. 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
Chrome & Safari
!important
clickable
class (.)
24. There are ____ descriptive color names
16
Lightness
clickable
embedded styles
25. Default for the media attribute
pseudo-classes
Pseudo-classes
screen
general sibling (new to CSS3)
26. To format the space between a bullet and text in an unordered list style some left padding on the _____ element within the list
specificity
formatting
class
<li>
27. h2+p { margin-top: .5em} is an example of a _____ selector
href="<relative URL here>"
general sibling (new to CSS3)
last
adjacent sibling
28. The ____ attribute is used to specify the platform that the style sheet is for (mobile - print etc)
Pseudo-classes
media
Alpha
screen
29. Three ways to code CSS3 colors: _____ - HSL - HSLA
general sibling (new to CSS3)
class (.)
Lightness
RGBA
30. h2~p { margin-left: 2em; } is an example of a ______ selector
general sibling (new to CSS3)
class
16
Lightness
31. A rule to remove bullets from a list
comma (,)
descendant
rel="stylesheet"
ul{ list-style: none;}
32. Width of a box: left margin + left border + left padding + _____ + right padding + right border + right margin
position (with values: left, center, right, top, center, bottom)
media
-webkit-
width
33. Because different browsers have different default margins for block elements you often need to ________ those values using the * (wildcard) selector and set the margins explicitly
comma (,)
screen
!important
zero out
34. Wildcard (universal selector) to select all elements
*
a:link{text-decoration: none;}
href="<relative URL here>"
height
35. The colon (:) is indicative of __________
pseudo-classes
class
RGBA
height
36. 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 ______
only-child
:focus pseudo-class
embedded styles
a:link{text-decoration: none;}
37. Prefix for linear gradient commands in Firefox
margin
screen
general sibling (new to CSS3)
-moz-
38. h1, h2, h3 {color: blue;} is an example of _____
<style>
multiple selectors
border: [width] [style] [color];
rel="stylesheet"
39. HSL: Hue - Saturation - ______
Lightness
a img {border: none;}
pseudo-class
ul{ list-style: none;}
40. Attribute for an external style sheet
rel="stylesheet"
visited
a img {border: none;}
Firefox
41. #main>p{ font-size: 11pt; } is an example of a ______ selector
child
descendant
external
padding
42. _______ are predefined classes that apply to specific conditions
:focus pseudo-class
external
Pseudo-classes
specific
43. #main { padding: 1em;} is an example of a selector made by _____
-moz-
Pseudo-classes
id
Box Model
44. Six properties for setting heights & widths: width - height - ______- max-width - min-height - max-height
first-letter
16
min-width
only-child
45. Shorthand border syntax
border: [width] [style] [color];
external
padding
descendant
46. HTML tag used for embedded styles
<style>
box-shadow
class (.)
id
47. If a bottom margin encounters an adjacent top margin they are _____ and the larger margin is applied
a img {border: none;}
collapsed
type
attribute
48. 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
49. 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
clickable
last
HEX code
border: [width] [style] [color];
50. _____ measurements are recommended for font sizes
block
Relative
Alpha
Pseudo-elements