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