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