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