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