SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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 is about ___________
<!-- blah blah blah -->
media="print"
href
structure
2. XHTML attribute to set a styles sheet to print media only
in (inches)
media="print"
declaration block
Monospace
3. The space between lines of text
structure
. (period)
<style type="text/css"> /*styles go here*/ </styles>
Leading (prounounce ledding)
4. When using an XHTML tag selector you must not use it with it's ________
RWT (Responsive Web Design)
angle braces
img {display: none;}
JPEG (Joint Photographic Experts Group)
5. Within a style sheet you can specify a rule set or group of rule sets for the printed page by coding ________
Tracking
@media print
Serif
The box model
6. The semicolon (;) after a declaration can be __________
RGB triplet
Serif
declaration block
optional
7. Multiple class names are delimited by ____
spaces
1em
hyphenated
site navigation
8. It is possible for a user to __________ style sheets from a web page
media="print"
Cursive
angle braces
deactivate
9. A CSS ______ consists of a selector and a declaration block
Tracking
{ }
nested
rule set
10. Spaces are _________
presentation
evil
numeric value
color
11. A CSS _____ (or rule) consists of a property - a colon - a value and a semicolon
behavior
hyphenated
declaration
{ }
12. Property for background color
rule
background-color
evil
Times New Roman
13. CSS requires heavy use and understanding of the _____ of web page structure
property
background-color
DOM (Document Object Model)
.css
14. Recommendations for formatting printed pages: Set text color to black & background color to white & font to serif; remove _________ and as many images as possible
nested
<area>
deactivate
site navigation
15. The space between words and phrases
Tracking
evil
The box model
serifs
16. HTML elements can be selected by element type - id or ______
class
curly-braces
<area>
JPEG (Joint Photographic Experts Group)
17. Applied directly to the elements they affect
Inline styles
property
Sans-serif
Cursive
18. Courier is in the _____ font family
none
structure
<style type="text/css"> /*styles go here*/ </styles>
Monospace
19. Comic Sans is in the _____ font family
Serif
optional
Cursive
The box model
20. Attribute describing how a style sheet is related to an XHTML file it is connected to (complete statement)
screen
angle braces
rel="stylesheet"
optional
21. Comments in CSS cannot be _________
rule set
rel="stylesheet"
structure
nested
22. Symbol used to specify a 'class' selector
. (period)
(X)HTML
{ }
deactivate
23. The _____ is the style attribute you want to change
property
angle braces
1em
none
24. In the absence of other conflicting rules or declarations the order of declarations within a given rule is _________
immaterial
background
. (period)
numeric value
25. Common name for { } 's
curly-braces
PNG (Portable Network Graphics)
print
@media print
26. Commands to attach external style sheets to a given page should be placed in the _____ of the web page
angle braces
JPEG (Joint Photographic Experts Group)
head
1em
27. If you don't want an element to be included when a page is printed you can set its display property to _____
rule
none
rule set
structure
28. Delimiters for a rule's declaration(s)
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
background
Times New Roman
{ }
29. Support transparency and has more color choices that GIF. Not supported by all browsers
Serif
@media print
PNG (Portable Network Graphics)
declaration
30. A triplet of numbers based on components of Red & Green and Blue
RGB triplet
Inline styles
declaration block
numeric value
31. CSS requires that you know the _______ structural commands
evil
(X)HTML
Times New Roman
Kerning
32. You must specify a unit of measure with a ________ making sure there is no space between the value and its unit of measure
property
/*blah blah blah*/
JPEG (Joint Photographic Experts Group)
numeric value
33. A CSS ___________ consists of an opening brace & zero or more declarations and a closing brace
declaration block
<area>
link
Cursive
34. Times New Romanand Georgia are in the _____ font family
Serif
selector
print
declaration
35. 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
Cursive
print
. (period)
behavior
36. 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" />
rel="stylesheet"
rule set
color
37. Javascript is about _________
<!-- blah blah blah -->
selector
behavior
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
38. Hyphenated properties (like 'font-family') must not include ________
site navigation
spaces
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
(X)HTML
39. Empty tag used to connect an external style sheet to a web page
The box model
color
link
immaterial
40. Syntax for a CSS declaration
selector
optional
spaces
<property name>: <value>;
41. Comment structure for CSS
structure
/*blah blah blah*/
background-color
in (inches)
42. Symbol used to specify an 'id' selector
#
declaration block
Serif
DOM (Document Object Model)
43. Attribute name used to indicate the name of the CSS file an XHTML file is connected to
class
Leading (prounounce ledding)
href
auto
44. Height of the default font
structure
<style type="text/css"> /*styles go here*/ </styles>
1em
#
45. Given: p {color:red;text-align:center;} p is the selector there are 2 declarations and the entire style is known as a ________
color
<area>
rule set
rule
46. One way to do image rollovers is to use ______ images and the hover selector
in (inches)
color
background
DOM (Document Object Model)
47. Default media type for a link element containing a reference to styles
<!-- blah blah blah -->
/*blah blah blah*/
rule set
screen
48. The amount of space between characters
Kerning
immaterial
angle braces
Leading (prounounce ledding)
49. These tags are often (always?) nested in the <map> tag block
link
<area>
Serif
evil
50. In a printed document set the width of the body and article to _____ so they will be as wide as the printed page permits
site navigation
Tracking
in (inches)
auto