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