HTML and CSS Reference
In-Depth Information
Last line of the file
The only notable difference is that the Content-Disposition field contains
an extra element, filename , which defines the name of the file being
transmitted. There might also be a Content-Type field to further describe
the file's contents. The text/plain encoding
Use this encoding only when you don't have access to a forms-process-
ing server and need to send the form information by email (the form's
action attribute must be a mailto URL). The conventional encodings are
designed for computer consumption; text/plain is designed with people
in mind.
In this encoding, each element in the form is placed on a single line,
with the name and value separated by an equals sign. Returning to our
name and address example, the form data would be returned as:
name=O'Reilly Media
address=1005 Gravenstein Highway North%0D%0ASebastopol,%0D%0ACA 95472
As you can see, the only characters still encoded in this form are the
carriage-return and line-feed characters in multiline text-input areas.
Otherwise, the result is easily readable and generally parsable by simple
9.2.3. The accept-charset Attribute
The accept-charset attribute was introduced in the HTML 4.0 standard.
It lets you specify a list of character sets that the server must support to
properly interpret the form data. The value of this attribute is a quote-
Search WWH ::

Custom Search