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