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