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