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