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