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