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