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