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