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