|
HTML学习指南6
The [10]form-fill feature is a proposed enhancement in HTML+ which
Mosaic, Lynx and some other browsers have started to support.
A form is made up of text interspersed with a series of input areas
which the user can fill in, and finally send the completed form to a
destination you (the author) specify. In most cases this destination
is a HTTP server, which will run a script or program to parse (check)
the input data and then file or process it or send it to a specified
email address. Details of how to specify processing are complex and
beyond the scope of this document: you should read (for example) the
[11]NCSA's documentation.
Here is a brief overview of the structure of a form and how to specify
the input areas (fields). If you want to use forms, you need to have
access to a server where you can place the script or program which you
want to process the data.
FORM DEFINITION
A form must be entirely defined within ... tags. The
attributes for the start-tag are:
* method="POST", the only value so far defined (in the NCSA's server
at least, please let me know if you have more information on
others)
* action="url", which specifies the URL of the server and script
which is to do the processing.
For example:
|
|