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