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