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