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