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