action of type
Sets or retrieves the URL to which the form content is sent for processing.
The attribute’s value is a string that specifies or receives the URL to use. If a relative path is specified, the base URL of the document is assumed.
For Windows Internet Explorer 8 or later, when the browser is in Internet Explorer 8 mode, the value of the action attribute depends on the context of the reference to the attribute. When read as a Document Object Model (DOM) attribute, action returns an absolute URL. The value specified by the page author is returned when action is read as a content attribute, when the page is displayed in an earlier document compatibility mode, or when the page is viewed with an earlier version of the browser.
The action attribute extends the HTMLIsIndexElement interface.