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