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