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