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