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