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