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 rule that removes all images from a site
background
declaration
auto
img {display: none;}
2. Defines a group of elements
RGB triplet
rule
DOM (Document Object Model)
class
3. XHTML attribute to set a styles sheet to print media only
rule
Sans-serif
media="print"
<property name>: <value>;
4. Extension for a CSS file
immaterial
rel="stylesheet"
Leading (prounounce ledding)
.css
5. Every CSS declaration has a ____ and a value
property
. (period)
Serif
RWT (Responsive Web Design)
6. Property for background color
Serif
background-color
serifs
Cursive
7. Courier is in the _____ font family
img {display: none;}
Monospace
rel="stylesheet"
declaration block
8. 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
color
print
media="print"
Sans-serif
9. Property for text color
Inline styles
Monospace
color
spaces
10. The amount of space between characters
Kerning
rule set
/*blah blah blah*/
{ }
11. Comment structure for CSS
/*blah blah blah*/
background-color
color
class
12. Arial and Verdana and Geneva are in the _____ font family
spaces
site navigation
Sans-serif
The box model
13. The _____ is the style attribute you want to change
spaces
structure
immaterial
property
14. CSS is about _________
site navigation
presentation
immaterial
serifs
15. Comments in CSS cannot be _________
rel="stylesheet"
property
nested
img {display: none;}
16. Comic Sans is in the _____ font family
Kerning
behavior
{ }
Cursive
17. The space between lines of text
Leading (prounounce ledding)
rule
@media print
#
18. Hyphenated properties (like 'font-family') must not include ________
@media print
<!-- blah blah blah -->
spaces
#
19. Within a style sheet you can specify a rule set or group of rule sets for the printed page by coding ________
@media print
in (inches)
site navigation
print
20. In the absence of other conflicting rules or declarations the order of declarations within a given rule is _________
curly-braces
immaterial
background-color
spaces
21. Content Padding Border Margin
{ }
numeric value
immaterial
The box model
22. Each CSS and each style rule is comprised of 2 parts: the ________ and the declaration block
PNG (Portable Network Graphics)
none
selector
. (period)
23. CSS requires heavy use and understanding of the _____ of web page structure
media="print"
hex codes
DOM (Document Object Model)
spaces
24. Support transparency and has more color choices that GIF. Not supported by all browsers
@media print
numeric value
PNG (Portable Network Graphics)
<style type="text/css"> /*styles go here*/ </styles>
25. Spaces are _________
evil
(X)HTML
serifs
link
26. To set margins and padding on printed pages you can use ____ as the unit of measure
declaration block
<area>
in (inches)
immaterial
27. HTML elements can be selected by element type - id or ______
hyphenated
structure
RGB triplet
class
28. Making a website 'adapt' to look great on multiple platforms and devices
DOM (Document Object Model)
RGB triplet
(X)HTML
RWT (Responsive Web Design)
29. A CSS ______ consists of a selector and a declaration block
media="print"
spaces
Kerning
rule set
30. Common name for { } 's
href
PNG (Portable Network Graphics)
curly-braces
The box model
31. XHTML is about ___________
evil
behavior
structure
.css
32. A CSS _____ (or rule) consists of a property - a colon - a value and a semicolon
declaration
link
optional
1em
33. The semicolon (;) after a declaration can be __________
Cursive
selector
<area>
optional
34. You must specify a unit of measure with a ________ making sure there is no space between the value and its unit of measure
color
hex codes
Inline styles
numeric value
35. These tags are often (always?) nested in the <map> tag block
Leading (prounounce ledding)
spaces
@media print
<area>
36. 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" />
deactivate
<property name>: <value>;
/*blah blah blah*/
37. CSS requires that you know the _______ structural commands
numeric value
.css
property
(X)HTML
38. Empty tag used to connect an external style sheet to a web page
angle braces
class
link
href
39. It is possible for a user to __________ style sheets from a web page
deactivate
nested
/*blah blah blah*/
href
40. Symbol used to specify an 'id' selector
img {display: none;}
The box model
#
class
41. In a printed document set the width of the body and article to _____ so they will be as wide as the printed page permits
DOM (Document Object Model)
(X)HTML
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
auto
42. Delimiters for a rule's declaration(s)
{ }
RWT (Responsive Web Design)
nested
behavior
43. Height of the default font
<!-- blah blah blah -->
1em
evil
site navigation
44. Colors can be specified in CSS by either color names or _______
hex codes
Monospace
head
site navigation
45. Multiple class names are delimited by ____
deactivate
DOM (Document Object Model)
spaces
selector
46. Recommendations for formatting printed pages: Set text color to black & background color to white & font to serif; remove _________ and as many images as possible
Serif
The box model
.css
site navigation
47. Javascript is about _________
presentation
property
<property name>: <value>;
behavior
48. When using an XHTML tag selector you must not use it with it's ________
angle braces
structure
PNG (Portable Network Graphics)
property
49. Multiword properties are _____ words
hyphenated
numeric value
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
Leading (prounounce ledding)
50. Default media type for a link element containing a reference to styles
Sans-serif
screen
media="print"
Kerning