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