(^652) Answers
Review Questions
- b
- a
- c
- c
- b
- c
- c
- a
- b
- b
- stickiness
- <meta name="robots"
description=
"noindex,nofollow" /> - search engines and search indexes
- a variety of methods, including
affiliate programs, banner ads, ban-
ner exchanges, reciprocal link
agreements, blog posting, RSS
feeds, newsletters, personal recom-
mendations, social book-marking,
traditional media advertising, or
including a URL on all promo-
tional materials - a reasonable expense related to
advertising and marketing an
organization
Chapter 14
Checkpoint 14.1
- JavaScript can be used for rollover images, form data validation, popup windows,
browser sniffing, interactivity such as alert messages and prompts, and mathemat-
ical calculations for tasks such as determining tax. - There is no limit to the number of script blocks that can be embedded in an
XHTML document. - You can use the JavaScript Console in Firefox to find an error. You could also
look through your code, paying particular attention to names of objects, proper-
ties, methods and statements, and missing semicolons.
Checkpoint 14.2
- An object is a thing, a property is an attribute, and a method is an action.
- An event is an occurrence such as click, load, and mouseover. An event handler is
an attribute embedded in an XHTML tag such as onclick,onload, and
onmouseover, that points to some JavaScript code to execute when the corre-
sponding event occurs. - Event handlers are embedded in XHTML tags and are not placed in separate
script blocks.
Checkpoint 14.3
- The prompt()method could be used to gather a piece of data such as the user’s
age. The prompt()method should be used in conjunction with a variable so that
the data will be stored in the variable.