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