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