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