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