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