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