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