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