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