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