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