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