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