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