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