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