Answers^645
Chapter 9
Checkpoint 9.1
- While either solution would be appropriate, the solution that uses three input
boxes (first name, last name, and e-mail address) is the more flexible solution.
These separate values could be stored in a database by server-side processing
where they could easily be selected and placed into personalized e-mail messages.
This provides the most useful functionality of the collected information in future
manipulations. - There are a number of possible solutions for this design question. If the responses
are short and about equal length, perhaps a group of radio buttons would be
appropriate. If the responses are lengthy or of widely varying lengths, a select list
would be a good choice. Radio groups can accept only one response per group.
Select lists by default accept only one response. Check boxes would not be appro-
priate because they allow more than one response to be selected. - False. In a radio button group, the nameattribute is used by the browser to
process separate elements as a group.
Checkpoint 9.2
- The
- The accesskeyattribute allows a visitor to select an element immediately by
using the keyboard instead of a mouse. This improves the accessibility of the page
and can be very helpful to mobility-impaired visitors. The W3C recommends pro-
viding a visual cue of an underlined letter, bold letter, or message that indicates
the hot keys to press to activate an element. - The Web designer and client decide which is used—standard submit button,
image button, or a button tag. However, it makes sense to use the simplest
possible technology that provides the needed functionality. In most cases, this
is the standard submit button. The submit button’s accessibility can be - c
- border
- valign
- larger
- summary or title
- padding
- Although XHTML tables are still
often used to configure page lay-
out, CSS is a more modern and
preferred method to configure page
layout. Advantages of CSS include
ease of maintenance and smaller
Web page files (due to less
XHTML code).