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