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