Form Basics : Introduction : Form JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Form » Introduction »

 

Form Basics








An HTML form is defined by using the


element, which has several attributes:

  1. method -- Indicates whether the browser should sent a GET request or a POST request

  2. action -- Indicates the URL to which the form should be submitted

  3. enctype -- The way the data should be encoded when sent to the server. The default is application/x-www-url-encoded, but it may be set to multipart/form-data if the form is uploading a file.

  4. accept -- Lists the mime types the server will handle correctly when a file is uploaded

  5. accept-charset -- Lists the character encodings that are accepted by the server when data is submitted





HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Form
» Introduction