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