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