How To Understand Form In Programming(II)

Coding of Form

Form label is the first to know as <form>…</form>

  • Functions: Used to declare forms, define the scope of data collection, that is, the data contained in < form > and </form > will be submitted to the server.
  • Syntax: <Form Action= “URL” Method=“Get|Post” Enctype=“MIME” Target=”…”>. </Form> square steel tubing for sale
  • Attribute understand: Action=“URL” is used to specify the format for processing submission forms. It can be a URL address or an e-mail address. Method=“get|post” specifies the HTTP method for submitting the form. Possible value is: post – POST method contains name/value pairs in the trunk of the form and does not need to be included in the action feature URL. Get – disapproved. The GET method adds name/value pairs to the action URL and sends the new URL to the server. This is a forward compatible default value. This value is not used because of internationalization reasons. Enctype=CDATA specifies the Internet media format used to submit forms to the server (when the method value is “post”). The default value for this feature is “application/x-www-form-urlencoded”. TARGET=”…” Specifies where the submitted document will be displayed. _ blank: Call in the specified document in a new, nameless browser window; _Self: Input documents into the same framework of elements that point to this target; _Parent: The direct parent Box that calls the document into the current FRAMESET box; this value is equivalent to _self when the current box does not have a parent box; _Top: Put the document into the top window of browser (so cancel all other frameworks).

Leave a Comment

Your email address will not be published. Required fields are marked *