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