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