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