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