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