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