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