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