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