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