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