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