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