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