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