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