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