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