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