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