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