Your browser does not support JavaScript. You will need to view non-JavaScript portions of this page.

CGS 2820: Summer Term 2002
On-Line Quizzes

Test Timer

In order to forward you your test results please enter your name & email address below:

Enter First Name followed by a space then your Last Name here



Enter E-mail Address here:



Tutorial Seven: Working with Cascading Style Sheets

Tutorial 7 Quiz Masters:

Eduardo Oyola-Rivera [Text Input]

John Taylor (jtaylor@hcc.cc.fl.us) [Consultant]


Multiple Choice [One Answer Only]


Question 1

Style sheets use a common language called

a) HTML
b) UNIX
c) CSS
d) DHTML

Question 2

When you create a(n)_______style , you add styles to each individual tag within the HTML file.

a) embedded
b) inline
c) global
d) linked

Question 3

When you create a(n) _______style, you apply a style to the entire HTML file.

a) embedded
b) inline
c) external
d) linked

Question 4

When you create a(n)________style sheet, the result is a text file containing the style declaration.

a) embedded
b) inline
c) global
d) linked

Question 5

An inline style declaration must be enclosed within

a) ampersands
b) asterisks
c) single quotation marks
d) double quotation marks

Question 6

Multiple attributes can be used as long as you separate each one by a(n)

a) ampersand
b) semicolon
c) angle bracket
d) colon

Question 7

To create an embedded style, you insert a tag within the________ section of your HTML file

a) body
b) global
c) incline
d) linked

Question 8

The syntax of an embedded style declaration is: style declarations.

a) DECLARE
b) SORT
c) TYPE
d) SELECT

Question 9

Most style sheets have the extension________, though this is not a requirement.

a) .css
b) .ext
c) .txt
d) .style

Question 10

You link a Web page to a style sheet by adding a_______tag to the HEAD section of your HTML file.

a) REL
b) LINK
c) MATCH
d) STYLE

Question 11

The_______command allows you to link a style sheet to a Web page.

a) @link
b) @import
c) connect
d) page-link

Question 12

An embedded style has precedence over a(n)_______style sheet.

a) internal
b) external
c) limked
d) inline

Question 13

An element that contains another element is called a(n)

a) predecessor
b) antecedent
c) progeny
d) parent

Question 14

You could set all font color to blue using the following style definition:_______

a) HEAD {color: blue}
b) BODY {color: blue}
c) HTML {clolor: blue}
d) HTML {blue: color}

Question 15

If Figure 7-10 represents all of the elements and their relationships in a particular HTML file, you could change the font color of every element in the Web page using the following style definition:_______.

a) HTME, BODY, HEAD {color: blue}
b) TITLE, H1, H2, P {color: blue}
c) TITLE, H, P, {color: blue}
d) H1, H2, P {color: blue}

Question 16

The______attribute allows you to choose a font face for use in your Web page.

a) font-family
b) font-face
c) face
d) contextual

Question 17

Which of the following is a specific font?

a) Arial
b) Times New Roman
c) sans-serif
d) All of the above

Question 18

A typical Web design will use________fonts for body text but not for the headers.

a) serif
b) sans-serif
c) dursive
d) monospace

Question 19

The standard way of controlling font sizes with HTML is by using the_______property of the tag.

a) VALUE
b) SIZE
c) WIDTH
d) POINT

Question 20

The SIZE property limits you to only________font sizes.

a) 7
b) 11
c) 16
d) 21

Question 21

Which of th following is a unit of length you can use to specify a font -size style?

a) medium
b) mm
c) xx-small
d) x-large

Question 22

_______units define the font size based on a standard unit of measurement

a) Absolute
b) Relative
c) Standard
d) Embedded

Question 23

Unlike the absolute units, em and ex units are

a) scalable.
b) entrenched.
c) didactic.
d) standardized.

Question 24

A(n)_______is the smallest display element on your computer monitor.

a) pica
b) point
c) pixel
d) inch

Question 25

Setting the text-align value to________stretches the text, extending it from the left to the right margin.

a) justify
b) across
c) breadth
d) stretch

Question 26

The vertical alignment attribute_______aligns the element as a subscript.

a) subsscript
b) sub
c) script
d) text-bottom

Question 27

The item marked________in Figure 7-23 is an example of the vertical-align:baseline style.

a) 1
b) 2
c) 4
d) 7

Question 28

To display a font in small caps, use the style_______.

a) font-decoration:small-caps
b) text-transform:small-caps
c) font-variant:small-caps
d) text-decoration:small-caps

Question 29

When the pointer passes over a hyperlink, the link changes appearance to indicate that the text is a link; this is called the_______effect.

a) rollover
b) passover
c) likage
d) inheritance

Question 30

Adding a rollover effect demonstrates a feature of CSS called a

a) pseudo-class.
b) text-transform
c) cause-effect
d) class-transform.



True/False Questions


Question 31

Since its earliest versions, HTML has hac extensive support for page layout and design.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 32

It is difficult to make quick changes to a page's content if you first have to edit inline images to do so.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 33

All of the tools provided with CSS are available with standard HTML, but they are just utilized differently.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 34

An embedded style affects a particular tag but not the other tags in the document.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 35

If you do not explicitly define the size of header text, for example, the attribute is left to the browser's internal style rules.

a) The statement above is TRUE.
b) The statemen.t above is FALSE.


Question 36

As a change is made to a style at one level, the changes are cascaded through to the other levels.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 37

The standard way of controlling font sizes with HTML is by using the SIZE property of the tag.

b) The statement above is TRUE.
a) The statement above is FALSE.


Question 38

All browsers display a size 7 font in the same way.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 39

The keywords xx-small, x-small, small, and so on, match the seven values of the size property in the tag.

a) The statement above is TRUE.
b) The statement above is FALSE.


Question 40

In the vertical-align style, the text-bottom attribute aligns the element with the font's bottom.

a) The statement above is TRUE.
b) The statement above is FALSE.



Fill-in-the-Blank


Fill in the Blank with the word(s) that best fits the definition:

(hint: use vocabulary from the checkboxes below)

Question 41. The collection of styles for a Web page or Web site is known as a style


Question 42. CSS stands for


Question 43. Linked style sheets are also known as style sheets


Question 44. For styles, the style declaration must be enclosed within double quotation marks.


Question 45. A style declaration consists of attribure names that control such features as the font size, color, and font type, followed by a(n) and then the attribure's value.


Question 46. Within the <> tag, you enclose the style declarations you need for the entire Web page.


Question 47. Within a style sheet, you don't need <STYLE></STYLE> tags just the style within a HTML tag.


Question 48. Any style left undefined by an inline style an embedded style or an external style sheet are left to the Web browser.


Question 49. A(n) font is a font such as Arial, Garamond, or Times New Roman.


Question 50. The text marked in Figure 7-28 has been formatted with the attribute font-variant:





I have


Please add a comment below



The 'Muddy Water' Issues that I need help on are as follows:





I need class review on the following vocabulary words from this chapter:

embedded linked global declare declaration

parent serif sans-serif absolute Cascade Style Sheets


When you have completed this quiz, press the ALL DONE-CHECK TEST button below to check the test! Then you may go back and change the incorrect answers before you submit the test. You may check the answers as many times as you need until you achieve a perfect grade. Sometimes the pop-up box does not appear when you click on the button after checking the test the first time. If this happens, minimize the test and the answer box will be behind the browser. close the box and maximize the test to continue checking the test and finally submitting it.



When you have finished checking the test, press the SUBMIT button to send answers to your instructor


Back to CGS 2820 Course Menu Page






Caution: Click reset to clear all answers

Users whose browser does not support JavaScript, when you have completed this quiz click the submit button below to send answers to your instructor



// -->