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