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