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