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