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