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