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