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