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