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