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