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