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
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. XHTML is about ___________
structure
selector
The box model
class
2. Spaces are _________
1em
evil
numeric value
Leading (prounounce ledding)
3. Syntax for a CSS declaration
behavior
<property name>: <value>;
1em
rule
4. It is possible for a user to __________ style sheets from a web page
curly-braces
deactivate
. (period)
color
5. Multiword properties are _____ words
auto
none
color
hyphenated
6. Property for background color
background-color
<!-- blah blah blah -->
print
Inline styles
7. Symbol used to specify an 'id' selector
evil
#
<area>
optional
8. CSS requires that you know the _______ structural commands
behavior
numeric value
(X)HTML
rule set
9. To set margins and padding on printed pages you can use ____ as the unit of measure
Leading (prounounce ledding)
spaces
PNG (Portable Network Graphics)
in (inches)
10. Javascript is about _________
rule
rule set
{ }
behavior
11. In the absence of other conflicting rules or declarations the order of declarations within a given rule is _________
<style type="text/css"> /*styles go here*/ </styles>
immaterial
presentation
head
12. XHTML syntax for connecting an external style sheet to a given webpage if the name of the sheet is 'sitestyles.css'
site navigation
#
background-color
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
13. HTML comment block syntax
serifs
<!-- blah blah blah -->
property
Kerning
14. Ornamental part of some fonts
(X)HTML
serifs
/*blah blah blah*/
numeric value
15. Multiple class names are delimited by ____
spaces
link
numeric value
nested
16. Defines a group of elements
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
declaration
class
Times New Roman
17. Commands to attach external style sheets to a given page should be placed in the _____ of the web page
head
evil
nested
. (period)
18. Syntax shell for writing styles in a given web page (internal style sheets)
<style type="text/css"> /*styles go here*/ </styles>
print
Kerning
evil
19. Support transparency and has more color choices that GIF. Not supported by all browsers
hex codes
angle braces
numeric value
PNG (Portable Network Graphics)
20. Within a style sheet you can specify a rule set or group of rule sets for the printed page by coding ________
@media print
deactivate
screen
spaces
21. Comments in CSS cannot be _________
nested
/*blah blah blah*/
Kerning
<style type="text/css"> /*styles go here*/ </styles>
22. Every CSS declaration has a ____ and a value
@media print
#
link
property
23. Default media type for a link element containing a reference to styles
/*blah blah blah*/
Serif
<area>
screen
24. Empty tag used to connect an external style sheet to a web page
presentation
link
auto
hex codes
25. HTML elements can be selected by element type - id or ______
spaces
class
/*blah blah blah*/
Leading (prounounce ledding)
26. Property for text color
color
print
media="print"
link
27. In a printed document set the width of the body and article to _____ so they will be as wide as the printed page permits
structure
nested
in (inches)
auto
28. Times New Romanand Georgia are in the _____ font family
<property name>: <value>;
@media print
background
Serif
29. You must specify a unit of measure with a ________ making sure there is no space between the value and its unit of measure
{ }
presentation
numeric value
property
30. Courier is in the _____ font family
Cursive
spaces
structure
Monospace
31. Colors can be specified in CSS by either color names or _______
hex codes
rule set
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
media="print"
32. Extension for a CSS file
property
spaces
.css
rule
33. When you provide a link element for both screen and print you usually code the link element for the ____ style sheet last so you only have to override the rules that need to be changed
Times New Roman
. (period)
print
<!-- blah blah blah -->
34. Best for photographs has about 16.7 million colors. Does NOT support transparency
spaces
JPEG (Joint Photographic Experts Group)
RGB triplet
property
35. Arial and Verdana and Geneva are in the _____ font family
RWT (Responsive Web Design)
JPEG (Joint Photographic Experts Group)
background
Sans-serif
36. Comic Sans is in the _____ font family
angle braces
Cursive
declaration
img {display: none;}
37. The amount of space between characters
<property name>: <value>;
<area>
Kerning
1em
38. Applied directly to the elements they affect
Inline styles
Cursive
angle braces
<area>
39. Symbol used to specify a 'class' selector
rule
none
. (period)
property
40. A CSS rule that removes all images from a site
img {display: none;}
in (inches)
site navigation
Leading (prounounce ledding)
41. Common name for { } 's
declaration
declaration block
curly-braces
Times New Roman
42. Comment structure for CSS
deactivate
in (inches)
declaration
/*blah blah blah*/
43. A popular serif font for printing
hyphenated
rule set
Times New Roman
optional
44. Each CSS and each style rule is comprised of 2 parts: the ________ and the declaration block
Cursive
serifs
optional
selector
45. CSS requires heavy use and understanding of the _____ of web page structure
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
DOM (Document Object Model)
selector
href
46. Hyphenated properties (like 'font-family') must not include ________
spaces
<style type="text/css"> /*styles go here*/ </styles>
RWT (Responsive Web Design)
Sans-serif
47. A triplet of numbers based on components of Red & Green and Blue
nested
Cursive
RGB triplet
<area>
48. The semicolon (;) after a declaration can be __________
optional
{ }
1em
nested
49. A CSS ___________ consists of an opening brace & zero or more declarations and a closing brace
numeric value
declaration block
background-color
img {display: none;}
50. The _____ is the style attribute you want to change
angle braces
head
declaration
property