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