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