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