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