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