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