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