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. Courier is in the _____ font family
The box model
Monospace
background-color
selector
2. In a printed document set the width of the body and article to _____ so they will be as wide as the printed page permits
immaterial
presentation
screen
auto
3. Syntax for a CSS declaration
evil
serifs
<property name>: <value>;
The box model
4. Within a style sheet you can specify a rule set or group of rule sets for the printed page by coding ________
@media print
class
screen
(X)HTML
5. Commands to attach external style sheets to a given page should be placed in the _____ of the web page
none
auto
head
img {display: none;}
6. When using an XHTML tag selector you must not use it with it's ________
hex codes
angle braces
{ }
optional
7. Spaces are _________
media="print"
Times New Roman
evil
background-color
8. Each CSS and each style rule is comprised of 2 parts: the ________ and the declaration block
Serif
. (period)
selector
JPEG (Joint Photographic Experts Group)
9. Symbol used to specify an 'id' selector
#
Tracking
rule set
Serif
10. CSS requires that you know the _______ structural commands
(X)HTML
selector
Tracking
DOM (Document Object Model)
11. A CSS rule that removes all images from a site
DOM (Document Object Model)
deactivate
img {display: none;}
site navigation
12. Common name for { } 's
curly-braces
rel="stylesheet"
Tracking
<area>
13. Default media type for a link element containing a reference to styles
PNG (Portable Network Graphics)
screen
Monospace
img {display: none;}
14. Best for photographs has about 16.7 million colors. Does NOT support transparency
hyphenated
background
JPEG (Joint Photographic Experts Group)
Leading (prounounce ledding)
15. Javascript is about _________
<property name>: <value>;
behavior
print
link
16. A CSS ______ consists of a selector and a declaration block
<!-- blah blah blah -->
rule set
hyphenated
Tracking
17. Applied directly to the elements they affect
Monospace
class
Inline styles
PNG (Portable Network Graphics)
18. Content Padding Border Margin
RGB triplet
<area>
The box model
1em
19. Comments in CSS cannot be _________
curly-braces
. (period)
nested
1em
20. Arial and Verdana and Geneva are in the _____ font family
Sans-serif
spaces
evil
hyphenated
21. A CSS _____ (or rule) consists of a property - a colon - a value and a semicolon
declaration
spaces
hex codes
#
22. CSS is about _________
presentation
declaration block
Sans-serif
optional
23. Comment structure for CSS
Kerning
RWT (Responsive Web Design)
/*blah blah blah*/
color
24. Attribute describing how a style sheet is related to an XHTML file it is connected to (complete statement)
rel="stylesheet"
immaterial
auto
structure
25. Attribute name used to indicate the name of the CSS file an XHTML file is connected to
declaration block
none
@media print
href
26. If you don't want an element to be included when a page is printed you can set its display property to _____
none
Kerning
auto
head
27. The space between words and phrases
deactivate
. (period)
Tracking
screen
28. Empty tag used to connect an external style sheet to a web page
background
Times New Roman
rule set
link
29. Multiple class names are delimited by ____
spaces
none
rel="stylesheet"
@media print
30. Every CSS declaration has a ____ and a value
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
1em
Cursive
property
31. To set margins and padding on printed pages you can use ____ as the unit of measure
in (inches)
link
behavior
The box model
32. Height of the default font
1em
auto
hyphenated
spaces
33. XHTML attribute to set a styles sheet to print media only
head
media="print"
img {display: none;}
color
34. The amount of space between characters
site navigation
<area>
<!-- blah blah blah -->
Kerning
35. Given: p {color:red;text-align:center;} p is the selector there are 2 declarations and the entire style is known as a ________
Tracking
Serif
rule
DOM (Document Object Model)
36. One way to do image rollovers is to use ______ images and the hover selector
property
background
Sans-serif
behavior
37. Making a website 'adapt' to look great on multiple platforms and devices
(X)HTML
immaterial
RWT (Responsive Web Design)
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
38. CSS requires heavy use and understanding of the _____ of web page structure
property
property
DOM (Document Object Model)
declaration
39. Colors can be specified in CSS by either color names or _______
The box model
hex codes
structure
rule set
40. The space between lines of text
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
class
Leading (prounounce ledding)
The box model
41. Comic Sans is in the _____ font family
Cursive
background-color
behavior
immaterial
42. A CSS ___________ consists of an opening brace & zero or more declarations and a closing brace
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
nested
hyphenated
declaration block
43. HTML elements can be selected by element type - id or ______
selector
class
.css
presentation
44. It is possible for a user to __________ style sheets from a web page
RWT (Responsive Web Design)
color
deactivate
site navigation
45. Delimiters for a rule's declaration(s)
site navigation
{ }
spaces
screen
46. A triplet of numbers based on components of Red & Green and Blue
RGB triplet
serifs
class
1em
47. Hyphenated properties (like 'font-family') must not include ________
spaces
none
property
Cursive
48. 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
<property name>: <value>;
site navigation
hex codes
49. You must specify a unit of measure with a ________ making sure there is no space between the value and its unit of measure
head
serifs
selector
numeric value
50. Defines a group of elements
link
spaces
class
declaration block