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