A.14 Form Tags^597
A.14 Form Tags
The <form>Ta g
<form></form>
The <form>tag configures a form that can accept information from a Web site visitor.
The form information may be processed using a server-side script or executable pro-
gram. Table A.24 shows <form>tag attributes and their values.
Table A.23
Attribute Value Usage
align "left"(default), "right", Specifies the horizontal alignment of the
"top", "middle", "bottom" iframe.(Deprecated)
frameborder "0"or "1"(default) "0"indicates that no frame borders will be visible
for this inline frame.
"1"indicates that frame borders will display for
this inline frame (default).
height Number of pixels or percentage Height of the inline frame
id Alphanumeric, no spaces; the value must be
unique and not used for other idvalues on
the same XHTML document
This attribute provides a unique identifier for the
inline frame.
longdesc URL of Web page with detailed description of
the contents of the inline frame
Provides a detailed text description of the frame.
This may be accessed by assistive technologies
marginheight Number of pixels Configures the top and bottom margins of the
inline frame.
marginwidth Number of pixels Configures the width of the right and left margins
of an inline frame.
name Text name, beginning with a letter, no
spaces
Configures the name of the inline frame. This is
required when using the targetattribute to con-
figure hyperlinks. This attribute is deprecated in
XHTML but is used to provide backward compati-
bility with browsers that support HTML.
scrolling "yes", "no", "auto"(default) Determines whether scrollbars will appear if the
document displayed is larger than the size of the
inline frame.
src Valid file name of a Web page document
(required)
Configures the name of the file to be displayed in
the inline frame.
title Text phrase that describes the inline frame
recommended by the W3C to improve
Configures the title of the inline frame. This can be
accessed by screen readers and is accessibility.
width Number of pixels or percentage Configures the width of the inline frame.