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