All technological notes.
<form> ElementAn HTML <form>s is used to collect user input. The user input is most often sent to a server for processing.
Syntax
<form></form>
| Attribute | Description |
|---|---|
name |
the name of the form |
action |
the action to be performed when the form is submitted |
method |
the HTTP method to be used when submitting the form data |
target |
ndicates where to display the response |
Method Attribute
GET:
POST:
Target Attribute
| Value | Description |
|---|---|
_self |
The response is displayed in the same frame (this is default) |
_blank |
The response is displayed in a new window or tab |
_parent |
The response is displayed in the parent frame |
_top |
The response is displayed in the full body of the window |
framename |
The response is displayed in a named iframe |