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