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