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