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. Symbol used to specify a 'class' selector
Serif
screen
rule
. (period)
2. A popular serif font for printing
Kerning
declaration block
angle braces
Times New Roman
3. In the absence of other conflicting rules or declarations the order of declarations within a given rule is _________
hyphenated
behavior
immaterial
rule
4. Courier is in the _____ font family
Sans-serif
in (inches)
Monospace
{ }
5. Attribute describing how a style sheet is related to an XHTML file it is connected to (complete statement)
spaces
@media print
rel="stylesheet"
JPEG (Joint Photographic Experts Group)
6. CSS requires that you know the _______ structural commands
spaces
(X)HTML
behavior
.css
7. A CSS ______ consists of a selector and a declaration block
angle braces
rule set
head
property
8. These tags are often (always?) nested in the <map> tag block
<area>
rule set
1em
href
9. To set margins and padding on printed pages you can use ____ as the unit of measure
print
img {display: none;}
{ }
in (inches)
10. Given: p {color:red;text-align:center;} p is the selector there are 2 declarations and the entire style is known as a ________
rule
spaces
rule set
angle braces
11. Syntax shell for writing styles in a given web page (internal style sheets)
<style type="text/css"> /*styles go here*/ </styles>
Cursive
. (period)
head
12. A triplet of numbers based on components of Red & Green and Blue
<style type="text/css"> /*styles go here*/ </styles>
immaterial
RGB triplet
spaces
13. A CSS rule that removes all images from a site
img {display: none;}
. (period)
<area>
<property name>: <value>;
14. A CSS _____ (or rule) consists of a property - a colon - a value and a semicolon
property
declaration
Serif
structure
15. Comment structure for CSS
Sans-serif
<!-- blah blah blah -->
<property name>: <value>;
/*blah blah blah*/
16. Delimiters for a rule's declaration(s)
<area>
in (inches)
{ }
@media print
17. Arial and Verdana and Geneva are in the _____ font family
auto
<style type="text/css"> /*styles go here*/ </styles>
href
Sans-serif
18. Property for background color
background-color
angle braces
none
screen
19. Recommendations for formatting printed pages: Set text color to black & background color to white & font to serif; remove _________ and as many images as possible
href
background
@media print
site navigation
20. Content Padding Border Margin
property
class
RGB triplet
The box model
21. It is possible for a user to __________ style sheets from a web page
Cursive
href
(X)HTML
deactivate
22. HTML comment block syntax
href
<!-- blah blah blah -->
serifs
site navigation
23. XHTML syntax for connecting an external style sheet to a given webpage if the name of the sheet is 'sitestyles.css'
img {display: none;}
site navigation
none
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
24. Syntax for a CSS declaration
hyphenated
{ }
<property name>: <value>;
serifs
25. Height of the default font
@media print
spaces
Monospace
1em
26. Default media type for a link element containing a reference to styles
screen
href
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
#
27. One way to do image rollovers is to use ______ images and the hover selector
background
curly-braces
Times New Roman
presentation
28. Multiword properties are _____ words
hyphenated
rule
Sans-serif
Tracking
29. CSS requires heavy use and understanding of the _____ of web page structure
RGB triplet
behavior
(X)HTML
DOM (Document Object Model)
30. XHTML is about ___________
Leading (prounounce ledding)
structure
background
optional
31. You must specify a unit of measure with a ________ making sure there is no space between the value and its unit of measure
deactivate
numeric value
Tracking
head
32. Each CSS and each style rule is comprised of 2 parts: the ________ and the declaration block
img {display: none;}
print
selector
. (period)
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
hyphenated
print
in (inches)
background-color
34. CSS is about _________
#
declaration block
serifs
presentation
35. The space between lines of text
DOM (Document Object Model)
(X)HTML
Leading (prounounce ledding)
media="print"
36. The _____ is the style attribute you want to change
evil
property
Kerning
site navigation
37. Comments in CSS cannot be _________
background-color
background
declaration
nested
38. A CSS ___________ consists of an opening brace & zero or more declarations and a closing brace
optional
declaration block
(X)HTML
hyphenated
39. HTML elements can be selected by element type - id or ______
optional
The box model
presentation
class
40. Within a style sheet you can specify a rule set or group of rule sets for the printed page by coding ________
numeric value
@media print
behavior
.css
41. The semicolon (;) after a declaration can be __________
spaces
class
optional
Monospace
42. Common name for { } 's
deactivate
hex codes
curly-braces
property
43. The amount of space between characters
property
. (period)
Kerning
Cursive
44. Comic Sans is in the _____ font family
<style type="text/css"> /*styles go here*/ </styles>
Cursive
1em
numeric value
45. Every CSS declaration has a ____ and a value
<style type="text/css"> /*styles go here*/ </styles>
property
behavior
<!-- blah blah blah -->
46. In a printed document set the width of the body and article to _____ so they will be as wide as the printed page permits
(X)HTML
auto
Inline styles
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
47. XHTML attribute to set a styles sheet to print media only
. (period)
selector
media="print"
none
48. The space between words and phrases
Tracking
JPEG (Joint Photographic Experts Group)
<area>
selector
49. Attribute name used to indicate the name of the CSS file an XHTML file is connected to
immaterial
background-color
href
RGB triplet
50. Applied directly to the elements they affect
curly-braces
Inline styles
behavior
color