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