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