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