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. Default media type for a link element containing a reference to styles
screen
. (period)
PNG (Portable Network Graphics)
property
2. XHTML syntax for connecting an external style sheet to a given webpage if the name of the sheet is 'sitestyles.css'
RGB triplet
screen
JPEG (Joint Photographic Experts Group)
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
3. Content Padding Border Margin
background-color
The box model
JPEG (Joint Photographic Experts Group)
/*blah blah blah*/
4. Given: p {color:red;text-align:center;} p is the selector there are 2 declarations and the entire style is known as a ________
RGB triplet
/*blah blah blah*/
rule
background
5. Applied directly to the elements they affect
Inline styles
Tracking
hyphenated
Monospace
6. Courier is in the _____ font family
site navigation
spaces
numeric value
Monospace
7. Property for text color
hex codes
color
Serif
The box model
8. The space between lines of text
link
Monospace
spaces
Leading (prounounce ledding)
9. When using an XHTML tag selector you must not use it with it's ________
RGB triplet
.css
none
angle braces
10. Symbol used to specify a 'class' selector
DOM (Document Object Model)
. (period)
property
site navigation
11. These tags are often (always?) nested in the <map> tag block
color
(X)HTML
<area>
head
12. It is possible for a user to __________ style sheets from a web page
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
PNG (Portable Network Graphics)
auto
deactivate
13. 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
spaces
print
background
optional
14. Each CSS and each style rule is comprised of 2 parts: the ________ and the declaration block
selector
nested
property
PNG (Portable Network Graphics)
15. In the absence of other conflicting rules or declarations the order of declarations within a given rule is _________
immaterial
property
color
Tracking
16. Every CSS declaration has a ____ and a value
(X)HTML
rel="stylesheet"
Cursive
property
17. The semicolon (;) after a declaration can be __________
declaration block
optional
color
screen
18. Attribute describing how a style sheet is related to an XHTML file it is connected to (complete statement)
hyphenated
spaces
rel="stylesheet"
background-color
19. Defines a group of elements
JPEG (Joint Photographic Experts Group)
class
background
curly-braces
20. Empty tag used to connect an external style sheet to a web page
#
selector
link
background-color
21. Comic Sans is in the _____ font family
Cursive
.css
<!-- blah blah blah -->
Sans-serif
22. Property for background color
hex codes
Inline styles
background-color
site navigation
23. One way to do image rollovers is to use ______ images and the hover selector
(X)HTML
background
in (inches)
declaration
24. Best for photographs has about 16.7 million colors. Does NOT support transparency
{ }
property
JPEG (Joint Photographic Experts Group)
@media print
25. Syntax for a CSS declaration
declaration
<link rel="stylesheet" type="text/css" href="sitestyles.css" />
site navigation
<property name>: <value>;
26. In a printed document set the width of the body and article to _____ so they will be as wide as the printed page permits
rule
auto
property
immaterial
27. Arial and Verdana and Geneva are in the _____ font family
deactivate
<style type="text/css"> /*styles go here*/ </styles>
Sans-serif
Tracking
28. Within a style sheet you can specify a rule set or group of rule sets for the printed page by coding ________
Monospace
@media print
Tracking
RGB triplet
29. Recommendations for formatting printed pages: Set text color to black & background color to white & font to serif; remove _________ and as many images as possible
Cursive
nested
site navigation
immaterial
30. CSS requires heavy use and understanding of the _____ of web page structure
property
DOM (Document Object Model)
deactivate
/*blah blah blah*/
31. CSS is about _________
<property name>: <value>;
Sans-serif
presentation
site navigation
32. Times New Romanand Georgia are in the _____ font family
Sans-serif
Serif
property
media="print"
33. Delimiters for a rule's declaration(s)
{ }
serifs
Inline styles
evil
34. HTML elements can be selected by element type - id or ______
class
<area>
RWT (Responsive Web Design)
serifs
35. Multiword properties are _____ words
serifs
hyphenated
href
spaces
36. A CSS ______ consists of a selector and a declaration block
auto
numeric value
rule set
property
37. Commands to attach external style sheets to a given page should be placed in the _____ of the web page
rel="stylesheet"
RWT (Responsive Web Design)
<area>
head
38. HTML comment block syntax
<!-- blah blah blah -->
Inline styles
numeric value
property
39. The _____ is the style attribute you want to change
hex codes
class
property
JPEG (Joint Photographic Experts Group)
40. Javascript is about _________
The box model
<property name>: <value>;
head
behavior
41. A CSS _____ (or rule) consists of a property - a colon - a value and a semicolon
nested
JPEG (Joint Photographic Experts Group)
declaration
<style type="text/css"> /*styles go here*/ </styles>
42. XHTML attribute to set a styles sheet to print media only
media="print"
Serif
Times New Roman
1em
43. Support transparency and has more color choices that GIF. Not supported by all browsers
class
numeric value
PNG (Portable Network Graphics)
hex codes
44. Attribute name used to indicate the name of the CSS file an XHTML file is connected to
rule
deactivate
selector
href
45. Syntax shell for writing styles in a given web page (internal style sheets)
<style type="text/css"> /*styles go here*/ </styles>
Inline styles
@media print
DOM (Document Object Model)
46. You must specify a unit of measure with a ________ making sure there is no space between the value and its unit of measure
rule
DOM (Document Object Model)
numeric value
curly-braces
47. Ornamental part of some fonts
color
serifs
#
nested
48. Spaces are _________
(X)HTML
<!-- blah blah blah -->
angle braces
evil
49. Multiple class names are delimited by ____
rel="stylesheet"
spaces
Leading (prounounce ledding)
selector
50. The amount of space between characters
nested
print
media="print"
Kerning
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests