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