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