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. Attribute describing how a style sheet is related to an XHTML file it is connected to (complete statement)
<style type="text/css"> /*styles go here*/ </styles>
. (period)
curly-braces
rel="stylesheet"
2. These tags are often (always?) nested in the <map> tag block
numeric value
print
presentation
<area>
3. One way to do image rollovers is to use ______ images and the hover selector
background
Leading (prounounce ledding)
rule
class
4. Extension for a CSS file
The box model
.css
media="print"
Sans-serif
5. Default media type for a link element containing a reference to styles
print
screen
hex codes
#
6. XHTML is about ___________
background
structure
Tracking
screen
7. A triplet of numbers based on components of Red & Green and Blue
<area>
serifs
RGB triplet
Sans-serif
8. A CSS _____ (or rule) consists of a property - a colon - a value and a semicolon
declaration
class
<!-- blah blah blah -->
evil
9. The semicolon (;) after a declaration can be __________
declaration block
optional
Sans-serif
Tracking
10. Syntax shell for writing styles in a given web page (internal style sheets)
<style type="text/css"> /*styles go here*/ </styles>
immaterial
<area>
Leading (prounounce ledding)
11. The space between lines of text
Leading (prounounce ledding)
presentation
#
hyphenated
12. A CSS rule that removes all images from a site
auto
rule
immaterial
img {display: none;}
13. CSS is about _________
presentation
rule set
1em
spaces
14. HTML elements can be selected by element type - id or ______
(X)HTML
class
link
auto
15. Comment structure for CSS
screen
class
/*blah blah blah*/
property
16. The space between words and phrases
Inline styles
nested
.css
Tracking
17. Symbol used to specify a 'class' selector
. (period)
declaration
class
property
18. XHTML attribute to set a styles sheet to print media only
angle braces
media="print"
screen
color
19. 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" />
href
Sans-serif
RWT (Responsive Web Design)
20. Ornamental part of some fonts
href
Sans-serif
<!-- blah blah blah -->
serifs
21. Javascript is about _________
nested
class
<style type="text/css"> /*styles go here*/ </styles>
behavior
22. Hyphenated properties (like 'font-family') must not include ________
DOM (Document Object Model)
declaration block
spaces
<property name>: <value>;
23. Courier is in the _____ font family
in (inches)
Monospace
site navigation
img {display: none;}
24. Within a style sheet you can specify a rule set or group of rule sets for the printed page by coding ________
Monospace
#
class
@media print
25. Recommendations for formatting printed pages: Set text color to black & background color to white & font to serif; remove _________ and as many images as possible
<property name>: <value>;
site navigation
rel="stylesheet"
curly-braces
26. A CSS ______ consists of a selector and a declaration block
Sans-serif
rule set
(X)HTML
none
27. Spaces are _________
{ }
evil
immaterial
hyphenated
28. Comments in CSS cannot be _________
site navigation
Kerning
nested
in (inches)
29. Multiword properties are _____ words
rule
hyphenated
background
. (period)
30. A CSS ___________ consists of an opening brace & zero or more declarations and a closing brace
<area>
property
declaration block
DOM (Document Object Model)
31. Each CSS and each style rule is comprised of 2 parts: the ________ and the declaration block
Cursive
img {display: none;}
selector
nested
32. 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
numeric value
class
print
none
33. Empty tag used to connect an external style sheet to a web page
declaration
link
evil
Monospace
34. You must specify a unit of measure with a ________ making sure there is no space between the value and its unit of measure
media="print"
site navigation
numeric value
nested
35. Applied directly to the elements they affect
Inline styles
none
site navigation
structure
36. CSS requires heavy use and understanding of the _____ of web page structure
1em
media="print"
DOM (Document Object Model)
<property name>: <value>;
37. 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)
none
/*blah blah blah*/
<property name>: <value>;
38. Attribute name used to indicate the name of the CSS file an XHTML file is connected to
nested
<!-- blah blah blah -->
media="print"
href
39. CSS requires that you know the _______ structural commands
The box model
declaration block
Times New Roman
(X)HTML
40. Arial and Verdana and Geneva are in the _____ font family
Sans-serif
curly-braces
declaration
immaterial
41. Common name for { } 's
hyphenated
property
numeric value
curly-braces
42. Commands to attach external style sheets to a given page should be placed in the _____ of the web page
head
behavior
hex codes
{ }
43. In the absence of other conflicting rules or declarations the order of declarations within a given rule is _________
<!-- blah blah blah -->
evil
immaterial
spaces
44. Times New Romanand Georgia are in the _____ font family
evil
Serif
link
rule set
45. 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
media="print"
spaces
optional
46. Property for text color
JPEG (Joint Photographic Experts Group)
color
1em
numeric value
47. Best for photographs has about 16.7 million colors. Does NOT support transparency
head
JPEG (Joint Photographic Experts Group)
deactivate
declaration block
48. Every CSS declaration has a ____ and a value
behavior
property
Kerning
RGB triplet
49. Making a website 'adapt' to look great on multiple platforms and devices
{ }
head
Cursive
RWT (Responsive Web Design)
50. Syntax for a CSS declaration
<property name>: <value>;
Cursive
hyphenated
/*blah blah blah*/